Solved

Using VB4.0 with VC++4.2

Posted on 1997-02-11
1
236 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
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

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…
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.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

728 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now