Click here to Skip to main content
15,923,376 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: new for ATL Pin
Jörgen Sigvardsson5-Jan-04 12:40
Jörgen Sigvardsson5-Jan-04 12:40 
GeneralRe: new for ATL Pin
utkarsharma6-Jan-04 3:15
utkarsharma6-Jan-04 3:15 
GeneralATL ActiveX Stock Property Pin
Hesham Amin1-Jan-04 2:59
Hesham Amin1-Jan-04 2:59 
GeneralRe: ATL ActiveX Stock Property Pin
Jörgen Sigvardsson1-Jan-04 4:54
Jörgen Sigvardsson1-Jan-04 4:54 
GeneralRe: ATL ActiveX Stock Property Pin
Hesham Amin1-Jan-04 11:59
Hesham Amin1-Jan-04 11:59 
GeneralRe: ATL ActiveX Stock Property Pin
Jörgen Sigvardsson1-Jan-04 12:38
Jörgen Sigvardsson1-Jan-04 12:38 
GeneralRe: ATL ActiveX Stock Property Pin
Hesham Amin1-Jan-04 12:49
Hesham Amin1-Jan-04 12:49 
GeneralC++ compile error C3358: CSoapHandler symbol not found Pin
nativespirits30-Dec-03 10:17
nativespirits30-Dec-03 10:17 
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.1ersist Security Info=False;User ID=me;Initial Catalog=mine;Data Source=SERVER;Use Procedure for Prepare=1;Auto Translate=Trueacket 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::InitializeHandler(pRequestInfo, pProvider))
return HTTP_FAIL;
GeneralRe: C++ compile error C3358: CSoapHandler symbol not found Pin
nativespirits30-Dec-03 12:03
nativespirits30-Dec-03 12:03 
GeneralMFC class with class wizard in ATL Pin
cercis30-Dec-03 8:16
cercis30-Dec-03 8:16 
QuestionAnyone use Stored Procs return multiple results? Pin
nativespirits29-Dec-03 14:21
nativespirits29-Dec-03 14:21 
AnswerRe: Anyone use Stored Procs return multiple results? Pin
nativespirits30-Dec-03 12:07
nativespirits30-Dec-03 12:07 
GeneralWindowless ActiveX control in WTL Pin
forjer29-Dec-03 7:42
forjer29-Dec-03 7:42 
GeneralRe: Windowless ActiveX control in WTL Pin
Jörgen Sigvardsson29-Dec-03 11:23
Jörgen Sigvardsson29-Dec-03 11:23 
GeneralRe: Windowless ActiveX control in WTL Pin
forjer30-Dec-03 7:56
forjer30-Dec-03 7:56 
GeneralRe: Windowless ActiveX control in WTL Pin
Jörgen Sigvardsson30-Dec-03 8:03
Jörgen Sigvardsson30-Dec-03 8:03 
GeneralRe: Windowless ActiveX control in WTL Pin
forjer30-Dec-03 12:38
forjer30-Dec-03 12:38 
GeneralRe: Windowless ActiveX control in WTL Pin
Jörgen Sigvardsson30-Dec-03 13:31
Jörgen Sigvardsson30-Dec-03 13:31 
GeneralRe: Windowless ActiveX control in WTL Pin
forjer30-Dec-03 23:09
forjer30-Dec-03 23:09 
GeneralRe: Windowless ActiveX control in WTL Pin
Jörgen Sigvardsson30-Dec-03 23:27
Jörgen Sigvardsson30-Dec-03 23:27 
GeneralRe: Windowless ActiveX control in WTL Pin
forjer31-Dec-03 2:53
forjer31-Dec-03 2:53 
GeneralRe: Windowless ActiveX control in WTL Pin
Jörgen Sigvardsson31-Dec-03 3:00
Jörgen Sigvardsson31-Dec-03 3:00 
GeneralPlease Explain This Pin
Prakash Nadar28-Dec-03 17:07
Prakash Nadar28-Dec-03 17:07 
GeneralRe: Please Explain This Pin
forjer29-Dec-03 7:46
forjer29-Dec-03 7:46 
GeneralRe: Please Explain This Pin
Prakash Nadar29-Dec-03 16:00
Prakash Nadar29-Dec-03 16:00 

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.