Solved

Using VB4.0 with VC++4.2

Posted on 1997-02-11
1
249 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
1 Comment
 
LVL 4

Accepted Solution

by:
mbhakta earned 50 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Error on moodle after upgrade 3 131
Complete beginner needs help making a cron job 9 118
Doc'in system (example?) BA 7 112
matchUp  challenge 6 65
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.

831 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