View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
[email protected] cozy_dude@mail.ru is offline
external usenet poster
 
Posts: 1
Default Excel 2003 Add-In problem

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?