Can we pass .Net control information Via com

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • patilan
    New Member
    • Feb 2010
    • 1

    Can we pass .Net control information Via com

    Hello

    Is there any way we can pass the .Net Control info via com and used this for display that control in Unmanaged code ie MFC CVew / Dialog

    I have treid to pass handle of .NetControl via com and attached it to CWnd
    It work fine in CView But it has some problem when I added to Dialog.
    It display and work corrtly but if I click on any other control application hangs
    may be lost in message loop

    MyControl = new Form1();
    MyControl.Handl e.ToInt64() passe to my unmanaged application via com


    Is there any way better than this.

    Any help will welcome

    Thanks
    Patil
Working...