ASKER
C# is an object-oriented programming language created in conjunction with Microsoft’s .NET framework. Compilation is usually done into the Microsoft Intermediate Language (MSIL), which is then JIT-compiled to native code (and cached) during execution in the Common Language Runtime (CLR).
TRUSTED BY
ASKER
Since I have an unmanaged .LIB, not .DLL, it seems to me that my choices are
1) Write an unmanaged C++ project that creates an unmanaged .DLL, either directly from the sources or by linking with the .LIB, or
2) Write a managed C++ project that builds the sources, resulting in a class library.
I'd like to avoid making any source changes, to simplify acceptance by QA. I don't know that I'd encounter any of the managed/unmanaged differences in building these sources with managed C++, but I don't know that I won't, either.
For simplicity, it seems best to build an unmanaged DLL with a project that simply links in the .LIB. I'm comfortable with using PInvoke in C#.
Would you agree with me, or do you have a different view? Am I missing something?