So, I have some .lib file (generated like this ) How to use it from my WPF application in C #?
If you want to use native libraries with C #, you will not need a .lib file. The way this is done in .NET is to use Invoke (P / Invoke). I suggest you follow the MSDN tutorial, it will start you:
Educational application for the platform
, P/Invoke Interop Assistant CodePlex. , C/++. DLL , DLL ( ) lib .