Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   C++ (http://www.programmingforums.org/forum15.html)
-   -   Accessing C++ class in Visual Basic (http://www.programmingforums.org/showthread.php?t=15221)

renato Feb 20th, 2008 6:41 AM

Accessing C++ class in Visual Basic
 
Can anyone please supply me with a quick and easy way of putting a C++ class in a DLL and to access the class from Visual Basic.

I know this is a simple question, but I'm not a proffesional developer so to me this is quite hard to get my mind around.

I took a quick glance through the forums and couldn't see something similiar.

Thanks in advance

Ancient Dragon Feb 20th, 2008 3:39 PM

Re: Accessing C++ class in Visual Basic
 
Maybe one or more of these google links will help.

Game_Ender Feb 23rd, 2008 11:16 PM

Re: Accessing C++ class in Visual Basic
 
If you are using VB.NET you can wrap you C++ class using SWIG. Here is tutorial, you want the C# example. Even though it says C#, anything that works for C# will also work for VB.NET.

renato Feb 26th, 2008 12:01 PM

Re: Accessing C++ class in Visual Basic
 
Thanks for the replies. It helps a lot


All times are GMT -5. The time now is 6:02 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC