Advertisement

10.21.2007 at 08:09PM PDT, ID: 22908163
[x]
Attachment Details

Use C++ class in my VB.NET project?

Asked by riceman0 in .NET, Microsoft Visual Basic.Net, .Net Class Libraries

Tags: class, project, use

Hi, I've got some old C++ code I'm having trouble converting to VB.NET.  So instead, I'm trying to add a C++ project to my solution, write it into a C++ class, and then (hopefully) access that C++ class from my VB.NET class.

So I added a C++ DLL project to my solution, added a new class, and I'm not sure how to access these classes from my VB.NET classes.  I added the reference to the other project, and nothing new pops up in intellisense as far as new types or namespaces available.

Is this possible?  If so, does anyone have some quick-start steps?

If not, what forms of communication are possible between C++ DLL and a VB.NET project in the same solution?

Thanks in advance!Start Free Trial
[+][-]10.21.2007 at 10:46PM PDT, ID: 20121037

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: .NET, Microsoft Visual Basic.Net, .Net Class Libraries
Tags: class, project, use
Sign Up Now!
Solution Provided By: drichards
Participating Experts: 1
Solution Grade: A
 
 
[+][-]11.13.2007 at 03:27PM PST, ID: 20276323

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628