المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : AfterCalculate is missing in Excel.tli, version: Office 2003



C++ Programming
11-12-2009, 09:40 AM
I am working on Excel Automation.

Application is MFC application without GUI.

All callbacks work perfectly in machine where office version is 2007 but same is not working in 2003.

When checking Excel.tli or tlh in both the machines, the size is different and AfterCalculate call back is missing in tli and tlh.

What needs to be added to application, to make it work for both versions.

This is how I imported:

#import "libid:00020813-0000-0000-C000-000000000046" auto_search no_dual_interfaces \
rename("DialogBox", "excelDialogBox") \
rename("RGB", "excelRGB") \
rename("DocumentProperties", "excelDocumentProperties") \
rename("SearchPath", "excelSearchPath") \
rename("CopyFile", "excelCopyFile") \
rename("ReplaceText", "excelReplaceText")

Please give me clue.

Regards,
KTTransfer.