|
|
I create an addin for Excel 2007 using C++\ATL. In the header file stdafx.h, typelibs mso.dll and excel.exe is imported through below statements:
#import "e:\OFFICE12\mso.dll" raw_interfaces_only, raw_native_types, named_guids, auto_search #import "e:\OFFICE12\excel.exe" raw_interfaces_only, raw_native_types, named_guids, auto_search rename ("RGB", "RGBEx") rename("DialogBox", "DialogBoxEx")
when I compile my project, an error LNK1179 is reported that COMDAT IID_Adjustments is duplicated. After checking source files, I found that IID_Adjustments existed in both excel.tlb and mso.tlb.
Anyone who can tell me how to resolve this problem?
Thanks
|
|
|