Serving the Quantitative Finance Community

 
User avatar
ldrage
Topic Author
Posts: 0
Joined: July 30th, 2004, 12:58 pm

Using a C++ class in VB

October 18th, 2005, 1:54 pm

Hi - I know how to use a C++ function in VB but I am struggling to find good references on how I might use C++ class from VB. I suspect I need to use COM but that's about as far as I've got. I would be very grateful if a kind soul could point me in the direction of a good book, paper or webpage which explains how to do it.Many thanksLee
 
User avatar
DominicConnor
Posts: 41
Joined: July 14th, 2002, 3:00 am

Using a C++ class in VB

October 18th, 2005, 4:25 pm

You can get a lot of this from the ATL Appwizard in VC++.Create an ATL project and the IDE will do a lot of the work for you.
 
User avatar
ldrage
Topic Author
Posts: 0
Joined: July 30th, 2004, 12:58 pm

Using a C++ class in VB

October 18th, 2005, 7:09 pm

Many thanks, DCFC - I've just created my first ATL project and I'm already using a C++ class in VB. Thanks once again for your helpLee
Last edited by ldrage on October 17th, 2005, 10:00 pm, edited 1 time in total.