Click here to Skip to main content
15,558,978 members
Home / Discussions / COM
   

COM

 
GeneralRe: Using C# .dll in unmanaged C++ application Pin
mypicturefaded18-Sep-09 4:54
mypicturefaded18-Sep-09 4:54 
AnswerRe: Using C# .dll in unmanaged C++ application Pin
theCPkid25-Sep-09 23:18
theCPkid25-Sep-09 23:18 
GeneralRe: Using C# .dll in unmanaged C++ application Pin
mypicturefaded26-Sep-09 7:27
mypicturefaded26-Sep-09 7:27 
Questionloosing data in COM method Pin
shivako17-Sep-09 3:07
shivako17-Sep-09 3:07 
AnswerRe: loosing data in COM method Pin
Stuart Dootson17-Sep-09 3:48
professionalStuart Dootson17-Sep-09 3:48 
AnswerRe: loosing data in COM method Pin
Roger Stoltz17-Sep-09 3:57
Roger Stoltz17-Sep-09 3:57 
AnswerRe: loosing data in COM method Pin
CPallini17-Sep-09 12:14
mveCPallini17-Sep-09 12:14 
QuestionGetting link error Pin
gtag16-Sep-09 23:00
gtag16-Sep-09 23:00 
I am using following dll's in VC++

mso.dll
vbe6ext.olb
namespace Office

comutil

I am getting following build errors:

Error 96 error LNK2005: "void __stdcall _set_com_error_handler(void (__stdcall*)(long,struct IErrorInfo *))" (?_set_com_error_handler@@YGXP6GXJPAUIErrorInfo@@@Z@Z) already defined in comsupp.lib(comsupp.obj) comsuppwd.lib

Error 97 error LNK2005: "void __stdcall _com_issue_error(long)" (?_com_issue_error@@YGXJ@Z) already defined in comsupp.lib(comsupp.obj) comsuppwd.lib

Error 98 error LNK2005: "void __stdcall _com_issue_errorex(long,struct IUnknown *,struct _GUID const &)" (?_com_issue_errorex@@YGXJPAUIUnknown@@ABU_GUID@@@Z) already defined in comsupp.lib(comsupp.obj) comsuppwd.lib

Error 99 error LNK2005: "long __stdcall _com_dispatch_propget(struct IDispatch *,long,unsigned short,void *)" (?_com_dispatch_propget@@YGJPAUIDispatch@@JGPAX@Z) already defined in comsupp.lib(comsupp.obj) comsuppwd.lib

Error 100 error LNK2005: "long __cdecl _com_dispatch_propput(struct IDispatch *,long,unsigned short,...)" (?_com_dispatch_propput@@YAJPAUIDispatch@@JGZZ) already defined in comsupp.lib(comsupp.obj) comsuppwd.lib

Error 101 error LNK2005: "void (__stdcall* __errorPfn)(long,struct IErrorInfo *)" (?__errorPfn@@3P6GXJPAUIErrorInfo@@@ZA) already defined in comsupp.lib(comsupp.obj) comsuppwd.lib

Error 102 error LNK2005: "long __stdcall _com_dispatch_raw_propget(struct IDispatch *,long,unsigned short,void *)" (?_com_dispatch_raw_propget@@YGJPAUIDispatch@@JGPAX@Z) already defined in comsupp.lib(invkprxy.obj) comsuppwd.lib

Error 103 error LNK2005: "long __cdecl _com_dispatch_raw_propput(struct IDispatch *,long,unsigned short,...)" (?_com_dispatch_raw_propput@@YAJPAUIDispatch@@JGZZ) already defined in comsupp.lib(invkprxy.obj) comsuppwd.lib

Error 104 fatal error LNK1169: one or more multiply defined symbols found


Please give me clue to solve this issue.

I am new to VC++ stuff.

Thanks in advance.

Regards,
Gtag
AnswerRe: Getting link error Pin
Stuart Dootson17-Sep-09 0:23
professionalStuart Dootson17-Sep-09 0:23 
GeneralRe: Getting link error Pin
gtag17-Sep-09 1:35
gtag17-Sep-09 1:35 
GeneralRe: Getting link error Pin
Stuart Dootson17-Sep-09 2:00
professionalStuart Dootson17-Sep-09 2:00 
GeneralRe: Getting link error Pin
gtag17-Sep-09 2:29
gtag17-Sep-09 2:29 
GeneralRe: Getting link error Pin
Stuart Dootson17-Sep-09 3:05
professionalStuart Dootson17-Sep-09 3:05 
GeneralRe: Getting link error Pin
gtag17-Sep-09 3:44
gtag17-Sep-09 3:44 
GeneralRe: Getting link error Pin
Stuart Dootson17-Sep-09 3:46
professionalStuart Dootson17-Sep-09 3:46 
GeneralRe: Getting link error Pin
gtag17-Sep-09 19:40
gtag17-Sep-09 19:40 
QuestionC#development about Visio link the txt file. Pin
fbi56fbi15-Sep-09 22:47
fbi56fbi15-Sep-09 22:47 
Questionnew to this Pin
eclipsdrs14-Sep-09 8:56
eclipsdrs14-Sep-09 8:56 
AnswerRe: new to this Pin
Stuart Dootson14-Sep-09 13:39
professionalStuart Dootson14-Sep-09 13:39 
QuestionShared Add-in issues Pin
SRKSHOME11-Sep-09 5:57
SRKSHOME11-Sep-09 5:57 
QuestionUsing a COM Server in an Visual Studio .vcproj Pin
Juergen_8010-Sep-09 5:44
Juergen_8010-Sep-09 5:44 
AnswerRe: Using a COM Server in an Visual Studio .vcproj [modified] Pin
Stuart Dootson10-Sep-09 6:27
professionalStuart Dootson10-Sep-09 6:27 
GeneralRe: Using a COM Server in an Visual Studio .vcproj Pin
Juergen_8010-Sep-09 23:51
Juergen_8010-Sep-09 23:51 
GeneralRe: Using a COM Server in an Visual Studio .vcproj Pin
Stuart Dootson11-Sep-09 0:10
professionalStuart Dootson11-Sep-09 0:10 
GeneralRe: Using a COM Server in an Visual Studio .vcproj Pin
Juergen_8011-Sep-09 0:59
Juergen_8011-Sep-09 0:59 

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.