?
Solved

Using VB4.0 with VC++4.2

Posted on 1997-02-11
1
Medium Priority
?
261 Views
Last Modified: 2013-11-20
With the added new features in VB4.0 in being able to build OLE servers, which duties do you think should be delegated to VB and which to VC? I am in the process of converting a VB3.0 app to a VB4.0 based application where I'll be able to use Visual C++ 4.2.

I plan to use VB4.0 for the main application (calling app if you will) and use VC4.2 to create the DLLs, OCX controls, OLE servers.  Would this be the best path, or can VB4.0 handle most of the above?

Also any other information on moving the project from VB3.0 to VB4.0 (with VC4.2) would be appreciated. (ie, VBX to 32-bit OCX).
Thanks,
Manny Sarte
emsarte@home.com
0
Comment
Question by:emsarte
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 4

Accepted Solution

by:
mbhakta earned 100 total points
ID: 1300206
This is a pretty common question people ask.

Yes, you are right. VB being a 'more RAD' tool than VC++ can be used to develop some jazzy front-ends. It has a much lower learning curve compared to VC++.

VC++ is much faster in terms of speed and the EXE is standalone unlike in VB (which relies on VBRUN*.DLL). I think it is good idea to develop your DLL's , OCX's etc using VC++. Go ahead mate. But a few issues you have to remember.

- VB is not MFC compliant. So If you are using C++ classes make sure you have a wrapper C call to it. This way you will be able to access this export function in VB.

- Avoid returning pointer as VB may not be very happy with it.

About porting issues in VB. Sorry mate, this is a MFC newsgroup. I am not a VB guru.


0

Featured Post

Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question