Re: RCW/CCW between COM and .NET
From: Robert Jordan (robertj_at_gmx.net)
Date: 08/26/04
- Next message: Phil Wilson: "OLEAutomation Interop with object []"
- Previous message: Inbar: "RE: accessing constants like msoBarTypeMenuBar"
- In reply to: Brian Reed: "RCW/CCW between COM and .NET"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 26 Aug 2004 22:51:21 +0200
> Now, assuming that I have a .NET component that is COM creatable as
> described above. If I create this Com creatable .NET component from an
> external .NET component via the Activator methods (used
> Type.GetTypeFromProgID) am i talking to an RCW for my external .NET component
> that is talking to a CCW for the .NET com createable object? Or is .NET
> smart enough to realize that an RCW and a CCW are not required since both
> objects are .NET objects, even though I created it via a traditionally COM
> manner? Is there any way to really test this?
wow, that a good point! ;-)
however, it's quite easy to prove: test whether the object you get
from Activator is a System._ComObject. or use Marshal.IsComObject.
bye
rob
- Next message: Phil Wilson: "OLEAutomation Interop with object []"
- Previous message: Inbar: "RE: accessing constants like msoBarTypeMenuBar"
- In reply to: Brian Reed: "RCW/CCW between COM and .NET"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|