Click here to Skip to main content
15,906,301 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: nevermind Pin
Jörgen Sigvardsson12-Aug-03 13:47
Jörgen Sigvardsson12-Aug-03 13:47 
Questiondebug assertions : wierd or not?? Pin
Senkwe Chanda6-Aug-03 8:44
Senkwe Chanda6-Aug-03 8:44 
Answerjust me being stupid Pin
Senkwe Chanda6-Aug-03 13:46
Senkwe Chanda6-Aug-03 13:46 
GeneralC++ ATL Server project Pin
devvvy5-Aug-03 23:43
devvvy5-Aug-03 23:43 
GeneralRe: C++ ATL Server project Pin
Steve S6-Aug-03 5:43
Steve S6-Aug-03 5:43 
GeneralRe: C++ ATL Server project Pin
Nemanja Trifunovic6-Aug-03 6:13
Nemanja Trifunovic6-Aug-03 6:13 
GeneralRe: C++ ATL Server project Pin
devvvy6-Aug-03 14:56
devvvy6-Aug-03 14:56 
GeneralRe: C++ ATL Server project Pin
nativespirits30-Dec-03 10:04
nativespirits30-Dec-03 10:04 
Confused | :confused:
I understand what you've said here, however I cannot find why I constantly receive the error: error C3358: 'CSoapHandler': symbol not found

I have the code exactly like the sample OnlineAddressBook from the MSDN library yet I get the error whereas that app does not. Such simple things can stop a programmer for hours.

Here is the code I am using. Note that the Web Service this code is in compiles fine, it's when I compile the SRF (ATL Server) project that the error occurs, let me know if you need to see more code.

// DataConsumerWS.h : Defines the ATL Server request handler class
//
#pragma once

namespace DataConsumerWSService
{
const wchar_t MYDATASOURCE[] = L"Provider=SQLOLEDB.1;Persist Security Info=False;User ID=me;Initial Catalog=mine;Data Source=SERVER;Use Procedure for Prepare=1;Auto Translate=True;Packet Size=4096;Use Encryption for Data=False;Tag with column collation when possible=False";

// all struct, enum, and typedefs for your webservice should go inside the namespace

// IDataConsumerWSService - web service interface declaration
//
[
uuid("2E179D71-E436-42EE-A1D6-00758BF3D7AA"),
object
]
__interface IDataConsumerWSService
{
// HelloWorld is a sample ATL Server web service method. It shows how to
// declare a web service method and its in-parameters and out-parameters
[id(1)] HRESULT GetStudents([out] int *arrSize,[out,size_is(*arrSize)] BSTR **NameList,[out,size_is(*arrSize)] LONG **IDList);
// TODO: Add additional web service methods here
};


// DataConsumerWSService - web service implementation
//
[
request_handler(name="Default", sdl="GenDataConsumerWSWSDL"),
soap_handler(
name="DataConsumerWSService",
namespace="urn:DataConsumerWSService",
protocol="soap"
)
]
class CDataConsumerWSService :
public IDataConsumerWSService
{
public:
// uncomment the service declaration(s) if you want to use
// a service that was generated with your ISAPI extension
CDataConnection m_dc;
HTTP_CODE InitializeHandler(AtlServerRequest *pRequestInfo, IServiceProvider *pProvider)
{
if (HTTP_SUCCESS != CSoapHandler<cdataconsumerwsservice>::InitializeHandler(pRequestInfo, pProvider))
return HTTP_FAIL;
GeneralSTL, &quot;upgrade&quot; from sprintf to ostream in a logclass Pin
justin2235-Aug-03 21:01
justin2235-Aug-03 21:01 
GeneralRe: STL, &quot;upgrade&quot; from sprintf to ostream in a logclass Pin
Anonymous5-Aug-03 21:25
Anonymous5-Aug-03 21:25 
GeneralRe: STL, &quot;upgrade&quot; from sprintf to ostream in a logclass Pin
justin2235-Aug-03 21:32
justin2235-Aug-03 21:32 
GeneralATL and ADO Problem Pin
Popeye Doyle Murray5-Aug-03 2:39
Popeye Doyle Murray5-Aug-03 2:39 
GeneralRe: ATL and ADO Problem Pin
Steve S5-Aug-03 23:17
Steve S5-Aug-03 23:17 
GeneralRe: ATL and ADO Problem Pin
Popeye Doyle Murray6-Aug-03 2:27
Popeye Doyle Murray6-Aug-03 2:27 
GeneralRe: ATL and ADO Problem Pin
Steve S6-Aug-03 5:39
Steve S6-Aug-03 5:39 
GeneralWindows Installer MSI file problem Pin
darseh5-Aug-03 0:03
darseh5-Aug-03 0:03 
GeneralIPropertySheet Pin
Subbu Viji4-Aug-03 5:18
Subbu Viji4-Aug-03 5:18 
GeneralATL ActiveX composite control Pin
Subbu Viji4-Aug-03 5:15
Subbu Viji4-Aug-03 5:15 
GeneralI need a good ATL book; Common Controls and Active X Pin
Stormwind3-Aug-03 21:44
Stormwind3-Aug-03 21:44 
GeneralRe: I need a good ATL book; Common Controls and Active X Pin
valikac4-Aug-03 9:30
valikac4-Aug-03 9:30 
GeneralRe: I need a good ATL book; Common Controls and Active X Pin
Stormwind4-Aug-03 15:43
Stormwind4-Aug-03 15:43 
GeneralConverting ATL example from vs7 to vc++6 Pin
paully3-Aug-03 5:26
paully3-Aug-03 5:26 
GeneralATL Registration in win98 Pin
zxb888888881-Aug-03 23:53
zxb888888881-Aug-03 23:53 
GeneralRe: ATL Registration in win98 Pin
Andrew Walker2-Aug-03 12:12
Andrew Walker2-Aug-03 12:12 
GeneralRe: ATL Registration in win98 Pin
zxb888888882-Aug-03 14:28
zxb888888882-Aug-03 14:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.