You can't use a Visual C++ class in a VB.NEt project. VB.NET projects hold
VB.NET code, not C#, C+=, Python, Perl, Cobol or anything else. BUT... you
are working in .NET
This means that if you need to access that C++ class, put it into a Visual
C++.NET project and build a standard .net assembly. Then you can reference
the assembly from your VB.NET project and pick up the class that way.
Another alternative would be to use the C++ class to generate a COM/COM+
server and talk to that, but we try not to talk about COM too much these
days.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.