Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

C++ with Visual Basic

Status
Not open for further replies.

cruzer330

Programmer
Nov 29, 2000
12
US
I want to write iterative mathematical calculations for a Visual Basic program. I have done this in VB but the calculations take a long time. I was wondering if C++ would provide a quick solution. I have extensive knowledge of VB but very little with C++. I just downloaded the Borland free compiler and figured out how to create quick DOS exe programs. How do I create ActiveX DLL so that I can access them in VB? I hear that C++ is a lot quicker and I figure that if I do the bulk of calcs in C++ then my overall VB application will be quicker. Please provide any advice that is out there. Thank you.
 
C++ may or may not be quicker in calc depending on how the calcs are optimized and what libraries are used. For real power in calcs, your best bet is to drop back to assembly :-s (ouch).

As for DLL's, that is a bit complex to be shown in a single thread. Maybe someone can suggest a link or book to look at.

Also be aware that version 5.5 of Borland's C++ compiler will only work in 32 bit enviroments. If you need to support the old 16 bit OS's, you may have to get Turbo C.
James P. Cottingham
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top