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
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