ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Excel 2003 Add-In problem (https://www.excelbanter.com/excel-programming/355748-excel-2003-add-problem.html)

[email protected]

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?



All times are GMT +1. The time now is 10:25 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com