Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

C++ with Visual Basic

C++ with Visual Basic

C++ with Visual Basic

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.

RE: C++ with Visual Basic

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 (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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close