Solved

Using VB4.0 with VC++4.2

Posted on 1997-02-11
1
257 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 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

Industry Leaders: 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

Suggested Solutions

Title # Comments Views Activity
ASCII Non-Printable characters/codes and their HTML equivalents 6 143
haveThree challenge 22 123
Window placement 17 95
MaxSpan challenge 9 123
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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.
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

756 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