Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Using VB4.0 with VC++4.2

Posted on 1997-02-11
1
Medium Priority
?
262 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 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
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.
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .

824 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