> -----Original Message-----
> From: BeginThread.com MSVC List [mailto:[EMAIL PROTECTED]]On Behalf
> Of Dee Holtsclaw
> Sent: 11 September 2003 16:22
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: RE: [msvc] Automation, IDispatch, Class Explosing The Interface
>
>
> Make sure you have a dual interface (or else a private COM-only interface
> you can QI for). One such method needs to be declared with hidden,
> restricted and local (preferably named with a leading _). The
> result of this
> is a long to keep it from being marshaled and this is then cast into your
> native class pointer. My root interface follows:
>
[CODE]
> Does this help?
Hmmm... the ins and outs of COM (and that's not some lame joke) are still
much of a mystery to me, so I'm afraid I don't follow your idea. How would I
use this from outside code, for example?
--
Jason Teagle
[EMAIL PROTECTED]
