CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2005
    Posts
    23

    Arrow ????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

  2. #2
    Join Date
    Jan 2004
    Location
    Upper Austria
    Posts
    215

    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.
    reboot, and everything is good

    visit my website at hochleistung.at

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured