????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
Re: ????How to return a self-defined type pointer from COM object to C#
Quote:
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.