vb.net - How to call a C++ dll file from Visual Basic 2010 - Stack Overflow
I'm going to assume here the C++ DLL is written in pure C++ (not C++/CLI or anything like that). It seems that the VB Lib keyword will only be importing a .NET procedure, rather than a native procedure. Instead, you need to use P/Invoke. Something like th...