Click here to Skip to main content
15,890,897 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: saving file Pin
killabyte25-May-09 20:34
killabyte25-May-09 20:34 
QuestionRe: saving file Pin
Maximilien25-May-09 4:56
Maximilien25-May-09 4:56 
QuestionANSI to UTF-8 Pin
Souldrift24-May-09 23:15
Souldrift24-May-09 23:15 
AnswerRe: ANSI to UTF-8 Pin
tolw25-May-09 1:00
tolw25-May-09 1:00 
AnswerRe: ANSI to UTF-8 Pin
Nibu babu thomas25-May-09 2:02
Nibu babu thomas25-May-09 2:02 
GeneralRe: ANSI to UTF-8 Pin
Souldrift25-May-09 2:34
Souldrift25-May-09 2:34 
GeneralRe: ANSI to UTF-8 Pin
tolw25-May-09 2:56
tolw25-May-09 2:56 
Questionerror LNK2019: unresolved external symbol "long __cdecl _com_dispatch_method Pin
pandit8424-May-09 23:14
pandit8424-May-09 23:14 
Hi I am using a ADO in my project. But when i compile my code i am getting the follwoing error.

error LNK2019: unresolved external symbol "long __cdecl _com_dispatch_method(struct IDispatch *,long,unsigned short,unsigned short,void *,wchar_t const *,...)" (?_com_dispatch_method@@YAJPAUIDispatch@@JGGPAXPB_WZZ) referenced in function "public: long __thiscall ConnectionEvents::InfoMessage(struct Error *,enum EventStatusEnum *,struct _Connection *)" (?InfoMessage@ConnectionEvents@@QAEJPAUError@@PAW4EventStatusEnum@@PAU_Connection@@@Z)

I have added this in my stdafx.cpp
#import "..\..\..\..\..\Microsoft\Redistribute\MSADO15.dll" no_namespace \
                  rename("Parameters","ADOParams") \
                  rename("Connection","ADOCon") \
                  rename("Parameter","ADOParam") \
                  rename("EOF", "adoEOF") \                  implementation_only


and below code in my stdafx.h file

#import "..\..\..\..\..\Microsoft\Redistribute\MSADO15.dll" no_namespace \
                  rename("Parameters","ADOParams") \
                  rename("Connection","ADOCon") \
                  rename("Parameter","ADOParam") \
                  rename("EOF", "adoEOF") \                  no_implementation



Please provide any comment i am not able to find out what is to be included to avoid this linking error.
AnswerRe: error LNK2019: unresolved external symbol "long __cdecl _com_dispatch_method Pin
Stuart Dootson25-May-09 1:42
professionalStuart Dootson25-May-09 1:42 
QuestionHEAP CORRUPTION DETECTED! Pin
susanne124-May-09 23:01
susanne124-May-09 23:01 
AnswerRe: HEAP CORRUPTION DETECTED! Pin
CPallini24-May-09 23:19
mveCPallini24-May-09 23:19 
GeneralRe: HEAP CORRUPTION DETECTED! Pin
susanne124-May-09 23:50
susanne124-May-09 23:50 
QuestionRe: HEAP CORRUPTION DETECTED! Pin
CPallini25-May-09 0:03
mveCPallini25-May-09 0:03 
AnswerRe: HEAP CORRUPTION DETECTED! Pin
susanne125-May-09 0:13
susanne125-May-09 0:13 
GeneralRe: HEAP CORRUPTION DETECTED! Pin
Garth J Lancaster25-May-09 0:18
professionalGarth J Lancaster25-May-09 0:18 
GeneralRe: HEAP CORRUPTION DETECTED! Pin
CPallini25-May-09 0:25
mveCPallini25-May-09 0:25 
QuestionRe: HEAP CORRUPTION DETECTED! Pin
CPallini25-May-09 0:27
mveCPallini25-May-09 0:27 
AnswerRe: HEAP CORRUPTION DETECTED! Pin
susanne125-May-09 0:32
susanne125-May-09 0:32 
GeneralRe: HEAP CORRUPTION DETECTED! Pin
Stuart Dootson25-May-09 1:49
professionalStuart Dootson25-May-09 1:49 
JokeRe: HEAP CORRUPTION DETECTED! Pin
Rajesh R Subramanian25-May-09 1:57
professionalRajesh R Subramanian25-May-09 1:57 
QuestionNeed Help With Callback Functions [noob] Pin
LCARS x3224-May-09 22:22
LCARS x3224-May-09 22:22 
QuestionProblem in CeCreateProcess ? Pin
Le@rner24-May-09 22:16
Le@rner24-May-09 22:16 
AnswerRe: Problem in CeCreateProcess ? Pin
Randor 25-May-09 8:22
professional Randor 25-May-09 8:22 
GeneralRe: Problem in CeCreateProcess ? Pin
Le@rner25-May-09 18:59
Le@rner25-May-09 18:59 
GeneralRe: Problem in CeCreateProcess ? Pin
Randor 25-May-09 19:30
professional Randor 25-May-09 19:30 

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.