Using unmanaged code from managed code

Posted by Harsha on Stack Overflow See other posts from Stack Overflow or by Harsha
Published on 2010-03-20T04:41:48Z Indexed on 2010/03/20 4:51 UTC
Read the original article Hit count: 698

Filed under:
|
|
|
|

Hi

I have my project developed in MFC which is unmnaged code. Now i need to create a similar application in C#, by reusing most of the MFC classes.

Is it possible to directly export class/struct/enum from MFC dll, so that i can import it in my C# using dllimport and use it.?

© Stack Overflow or respective owner

Related posts about c#

Related posts about mfc