Unfortunately, P/Invoke is limited to calling only C functions. There's no really good way to interop with a C++ library unless you wrap it with C++/CLI. At which point I find it much easier to just...
Type: Posts; User: psychopath
Unfortunately, P/Invoke is limited to calling only C functions. There's no really good way to interop with a C++ library unless you wrap it with C++/CLI. At which point I find it much easier to just...
Only if you compile it with the /CLR switch to make it C++/CLI code. Otherwise VC++ is perfectly capable of being a standard C++ compiler and IDE.