Excel 2003 Add-In problem

C

cozy_dude

Hello,

I''m developing an Excel add-in in ATL

So when I try to import the Excel type library like this:

#import "C:\\Program Files\\Microsoft Office\\Office11\\EXCEL.EXE"
named_guids\
rename("RGB","_RGB")\
rename("DocumentProperties","_DocumentProperties")\
rename("FindText","_FindText")\
rename("DialogBox","_DialogBox")\
no_function_mapping\
rename_namespace("MSEXCEL")

I've got the following eror: fatal error LNK1179: invalid or corrupt
file: duplicate COMDAT '_IID__Global'

How can I import the Excel type library correctly?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top