Re: Help with connection points
From: Adelle Hartley (adelle_at_bullet.net.au)
Date: 08/18/04
- Next message: Willy Van den Driessche: "Re: Unexpected Error (32810)"
- Previous message: Tony Proctor: "Re: what happens messages in MSMQ when system turned off?"
- In reply to: Arshad Tanveer: "Help with connection points"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 18 Aug 2004 21:51:11 +1000
"Arshad Tanveer" <public@atanveer.com> wrote in message
news:xmvUc.348$A_6.206@newsfe2-gui.ntli.net...
> Hi,
> I have developed a COM component using VC++/ATL, which is to be used in a
> Visual Basic client. The difficulty I am facing is with a connection
point.
Try changing LPOLESTR to BSTR.
You should also add "oleautomation" to your interface's attribute list.
This
should generate warnings for you at compile time for most issues that are
likely to cause problems with VB.
A list of which parameter types are oleautomation compatible can be found
here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/automat/htm/chap8_9a9a.asp
Adelle.
- Next message: Willy Van den Driessche: "Re: Unexpected Error (32810)"
- Previous message: Tony Proctor: "Re: what happens messages in MSMQ when system turned off?"
- In reply to: Arshad Tanveer: "Help with connection points"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|