|
-
March 29th, 2006, 02:53 AM
#1
????How to return a self-defined type pointer from COM object to C#
hi,all
I want a self-defined type pointer to be returned from my COM object to C#. and then use the pointer to initialize another COM.how should I do?
regards
-
March 29th, 2006, 06:24 AM
#2
Re: ????How to return a self-defined type pointer from COM object to C#
 Originally Posted by dragooooon
hi,all
I want a self-defined type pointer to be returned from my COM object to C#. and then use the pointer to initialize another COM.how should I do?
regards
unfortunately i don't have a final solution, but you could try to pass a pointer to your self-defined type as a pointer to a variant type. of course, the other COM which receives the pointer will have to know your user-type to be able to cast the pointer to that type.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|