There is any way to use C++\C# .Net assemblies\DLL’s in win32 C++ (unmanaged) applications?
There is any way to use C++\C# .Net assemblies\DLL’s in win32 C++ (unmanaged) applications?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Is it possible to use .Net, from any language, in C++ in a 100% pure unmanaged application?
No it is not. Using managed code requires the CLR to be in the process.
Is it possible to use .Net, from any language, in C++ in an unmanaged application that does not specifically start up the CLR?
Yes. It is possible to use the managed code via COM Interop. In this case the native code need not know that the CLR is even in process. It would create the COM objects as it would if they were defined in C++ and not know the difference.