Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Parameter from C++ to C#

Status
Not open for further replies.

yatingg

Programmer
Jan 20, 2004
5
US
I have a C++ application that calls a C# COM. If the C++ passes the a CWnd to the C#, what object type is it in C#?

C++ app:

CWnd* pParentWnd;
MyObject myobject;

myobject->MyMethod(pParentWnd);



C# interface:
public interface MyObject
{
void MyMethod(????????);
}

What goes in the ?'s?

Thanks in advance!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top