Hi i am need a help for handle managed and unmanaged code. In my project i am using the c# using system namespace. And also i use other lib file from crypto++. Now the problem is if i am using crypto++ i need the following statements
1 2 3
#ifdef _AFXDLL
#undef _AFXDLL
#endif
But i am using C# namespace to changed the property settings. so it not handling managed and unmanaged code.
Use Managed C++ (Now CLI) as a bridge between C++(Un managed) and C# (Managed) world.
This requires an understanding of the CLI language.
Else you can think about COM Wrappers to connect , where the wrapper need to be generated using TLBImp or TLBExp depending on who is clinet (C++\C#) and who is Server