Click here to Skip to main content
16,012,028 members
Home / Discussions / COM
   

COM

 
GeneralRe: VARIANT_BOOL return value in Automation class [modified] Pin
User 21559711-Jan-07 5:03
User 21559711-Jan-07 5:03 
AnswerRe: [SOLVED] VARIANT_BOOL return value in Automation class Pin
User 21559711-Jan-07 6:07
User 21559711-Jan-07 6:07 
GeneralRe: [SOLVED] VARIANT_BOOL return value in Automation class Pin
Roger Stoltz11-Jan-07 22:45
Roger Stoltz11-Jan-07 22:45 
GeneralRe: [SOLVED] VARIANT_BOOL return value in Automation class Pin
User 21559712-Jan-07 0:50
User 21559712-Jan-07 0:50 
GeneralRe: [SOLVED] VARIANT_BOOL return value in Automation class Pin
Roger Stoltz12-Jan-07 1:50
Roger Stoltz12-Jan-07 1:50 
GeneralRe: [SOLVED] VARIANT_BOOL return value in Automation class Pin
User 21559712-Jan-07 4:11
User 21559712-Jan-07 4:11 
GeneralRe: [SOLVED] VARIANT_BOOL return value in Automation class Pin
Roger Stoltz12-Jan-07 4:40
Roger Stoltz12-Jan-07 4:40 
GeneralRe: [SOLVED] VARIANT_BOOL return value in Automation class Pin
User 21559712-Jan-07 5:24
User 21559712-Jan-07 5:24 
Roger Stoltz wrote:
Let me express my most humble gratitude for that.

Someone who sincerely helps should deserve atleast a 5 on CP Smile | :)

Roger Stoltz wrote:


Sohail Kadiwala wrote:
I now think the problem is in Wizard generated code! What do you think?


Well, partly true.
I haven't found a way to make the wizard to use VARIANT_BOOL as type anywhere. That could be a problem and if so you have to explicitly modify it and that could be considered a "problem" in the wizard generated code.
But, I think the return types in your source code files (.cpp and .h) have been manually modified and if that's the case we cannot blame the wizard.


I don't think I modified the source files (.H and .cpp). To confirm this, in my sample application, I added another COM method to my interface selecting the return type to be VARIANT_BOOL. The result was VARIANT_BOOL data type as the return type in .H and .CPP files.

Now, this makes me curios - What version of Visual Studio are you using?
I am using MSDE 2003 version 7.1.3088

Roger Stoltz wrote:
All in all it feels good to leave for the weekend after nailing this one.

Have a nice weekend

Yes, I am also feeling happy to nail this one, although I could still have moved ahead with my work with some alternate declaration. But with you around and eager to help, I pushed myself a bit harder. Its been a long time since I got stuck with such a time consuming problem - so I am feeling a lot happy nailing it.

You have a great weekend.

I still have an hour before I head home, came late for work so need to wait some more time completing stuff.

Warm Regards,

S o h a i l K a d i w a l a

To Err Is Human; to Debug, Divine


modified 21-Apr-21 21:01pm.

GeneralRe: [SOLVED] VARIANT_BOOL return value in Automation class Pin
Roger Stoltz12-Jan-07 5:37
Roger Stoltz12-Jan-07 5:37 
GeneralRe: [SOLVED] VARIANT_BOOL return value in Automation class Pin
User 21559714-Jan-07 7:50
User 21559714-Jan-07 7:50 
QuestionCOM and windows service application ... Pin
Sakthiu9-Jan-07 0:31
Sakthiu9-Jan-07 0:31 
QuestionHow can get information from web page ? Pin
ankprasanna9-Jan-07 0:22
ankprasanna9-Jan-07 0:22 
QuestionCOM dll internals. Pin
HakunaMatada8-Jan-07 19:21
HakunaMatada8-Jan-07 19:21 
AnswerRe: COM dll internals. Pin
Phil Harding15-Jan-07 3:45
Phil Harding15-Jan-07 3:45 
QuestionSystem monitor using WMI Pin
abhiramsss8-Jan-07 12:26
abhiramsss8-Jan-07 12:26 
QuestionCOM on Linux? Pin
Josh Smith8-Jan-07 10:27
Josh Smith8-Jan-07 10:27 
AnswerRe: COM on Linux? Pin
Christian Graus8-Jan-07 11:22
protectorChristian Graus8-Jan-07 11:22 
GeneralRe: COM on Linux? Pin
Josh Smith8-Jan-07 11:59
Josh Smith8-Jan-07 11:59 
GeneralRe: COM on Linux? Pin
Jörgen Sigvardsson8-Jan-07 13:18
Jörgen Sigvardsson8-Jan-07 13:18 
GeneralRe: COM on Linux? Pin
Josh Smith9-Jan-07 3:48
Josh Smith9-Jan-07 3:48 
GeneralRe: COM on Linux? Pin
Jörgen Sigvardsson9-Jan-07 4:27
Jörgen Sigvardsson9-Jan-07 4:27 
GeneralRe: COM on Linux? Pin
Josh Smith9-Jan-07 7:45
Josh Smith9-Jan-07 7:45 
AnswerRe: COM on Linux? Pin
Stephen Hewitt8-Jan-07 11:46
Stephen Hewitt8-Jan-07 11:46 
GeneralRe: COM on Linux? Pin
Josh Smith8-Jan-07 11:59
Josh Smith8-Jan-07 11:59 
Questionhow can I embed a frame on an html page Using Com Pin
georgekjolly7-Jan-07 20:30
georgekjolly7-Jan-07 20:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.