Create a COM DLL in C++ and use interop to reference it in your VB.Net prog.
I assume you're coding for windows, otherwise give up on using VB.Net.