-
February 19th, 2014, 07:44 PM
#1
#import and raw_interfaces_only
I am adding some code to legacy C++ app, it imports the excel14 tlb with raw_interfaces_only.
I now I want to use excel.Application->get_dialogs method to get a save as dialog. this method (get_dialogs) takes &Dialogs as parameter.
but since we are using raw_interfaces_only it only brings in the definitions for IDialogs and not Dialogs, therefore I cant use this method (get_dialogs) without specifying raw_interfaces_only. THis is undesirable. Is there a way to tell the #import to bring in a specific class (Dialogs) even with raw_interfaces_only ??
thanks
and Canada rocks!! Peace bro.
-
February 20th, 2014, 03:43 AM
#2
Re: #import and raw_interfaces_only
raw_interfaces_only
Suppresses the generation of error-handling wrapper functions and property (C++) declarations that use those wrapper functions.
So the answer is: no there is not.
Best regards,
Igor
-
February 21st, 2014, 12:05 AM
#3
Re: #import and raw_interfaces_only
Thanks Igor, after a long time!
I am now trying to use IDispatch instead. Hope all is well.
and Canada rocks!! Peace bro.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|