Use MFC C++ existing code in c# application

  • Thread starter Thread starter Daniele Piccinini
  • Start date Start date
D

Daniele Piccinini

Hallo,

I need to use MFC existing code in a c# application.
Existing code is a complex comunication tools that use Socket, notification
message ...
Can someone show me HowTo, sample code or tutotials ?

Thanks in Advance.

- Daniele -
 
Thank you, now i read this link

- Daniele -


Nicholas Paldino said:
Daniele,

Have you considered creating managed wrappers for your C++ code? Check
out the section of the MSDN documentation titled "Accessing C++ Code from
.NET Framework Objects", located at (watch for line wrap):

http://msdn.microsoft.com/library/d...ml/vcmg_accessingcodefromframeworkobjects.asp

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Daniele Piccinini said:
Hallo,

I need to use MFC existing code in a c# application.
Existing code is a complex comunication tools that use Socket,
notification message ...
Can someone show me HowTo, sample code or tutotials ?

Thanks in Advance.

- Daniele -
 
Back
Top