Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Feb 20th, 2008, 6:41 AM   #1
renato
Newbie
 
Join Date: Dec 2007
Location: Johannesburg, South Africa
Posts: 5
Rep Power: 0 renato is on a distinguished road
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
renato is offline   Reply With Quote
Old Feb 20th, 2008, 3:39 PM   #2
Ancient Dragon
PFO God In Training
 
Ancient Dragon's Avatar
 
Join Date: Jun 2005
Location: near St Louis, MO. (USA)
Posts: 498
Rep Power: 4 Ancient Dragon is on a distinguished road
Re: Accessing C++ class in Visual Basic

Maybe one or more of these google links will help.
Ancient Dragon is offline   Reply With Quote
Old Feb 23rd, 2008, 11:16 PM   #3
Game_Ender
Professional Programmer
 
Game_Ender's Avatar
 
Join Date: May 2006
Location: Maryland, USA
Posts: 306
Rep Power: 3 Game_Ender is on a distinguished road
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.
__________________
Robotics @ Maryland AUV Team - Software Lead
Game_Ender is offline   Reply With Quote
Old Feb 26th, 2008, 12:01 PM   #4
renato
Newbie
 
Join Date: Dec 2007
Location: Johannesburg, South Africa
Posts: 5
Rep Power: 0 renato is on a distinguished road
Re: Accessing C++ class in Visual Basic

Thanks for the replies. It helps a lot
renato is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Visual Basic 2005 Express Edition For Dummies ReubenK Book Reviews 3 Jul 31st, 2007 8:47 AM
File Mapping in Visual Basic? bmad6 Visual Basic .NET 4 May 16th, 2006 9:37 PM
visual basic pixel image comparison youngnoviceinneedofhelp Visual Basic 3 Mar 19th, 2006 1:57 PM
Enquiry About Visual Basic Project kbkhoo5053 Visual Basic 13 Feb 15th, 2005 2:20 AM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 7:42 AM.

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