🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.tools.mfc
Article #3

Re: Mixing VB and VC++

#3
From: Alex Chacha
Date: Wed, 23 Aug 1995 14:09
46 lines
2932 bytes
John M. Miano (visualware@interramp.com) wrote:
: In article <41disc$e3v@toon.ctp.com>, sayer@ctp.com (Stephen D. Ayers) says:
: >
: >I would like to build an application that utilizes Visual Basic for
: >the GUI with Visual C++ business objects. Is it possible to "easily"
: >build an application that is a mixture both?  I know it is possible to
: >call "C" functions from VB, but is it possible to "call-back" to VB
: >code?  We are considering this because some people "feel" that VB
: >GUI's are easier to develop. Does the complexity of a mixed
: >environment outweighs the benefits?  Are there pitfalls to be avoided?

: Unless you are the type of person who likes to mix broken glass
: with your Preparation-H you should not be writing Windows front
: ends in C++.  You can be much more productive if you use a tool
: for front ends, such as VB, rather than dealing directly with the
: mess that is Windows or, that mess on top of a mess, MFC.  (Using
: OWL is very minor improvement.)

: I have had no problems mixing C++ and VB.  I have always let VB drive
: the application and have called C(++) DLLs to do heavy processing.

: It is possible to call VB from C++ only by sending messages.  This
: is not a mechanism that should be encouraged.  If you get into such 
: a situation where C(++) has to call VB then you will be geting into 
: trouble.  You should design your application so this is a rare 
: occurance in your application.

: An alternative would be to look at Delphi.  You would get the
: Visual environment of VB and some of the OO capabilities of
: C++.

Such a simplistic approach to programming. MFC is an excellent set of 
classes way better than OWL, and the fact you compared MFC and VC++ to VB 
and Delphi puts you in a category of inept programmers who can't grasp 
the future... C++ is complex, but it is the  only thing that is capable 
of developing solid creative apps, and MFC makes architecture much easier 
to work with.  It requires a deeped knowledge of the system and 
programming to work in C++, VB is a high level excuse for non-programmers 
to develop crappy apps...

BTW good luck with VBXs and VB in Win32... And another 
thing, go post to some other newsgroup, this is an MFC one, so go away to 
rec.barney.fan or something!

				Alex
				Give me MFC or give me more MFC...
Technical Details
Message-ID: <41fcq7$h23@panix2.panix.com>
Path: arc1-ca.pugleaf.net!news.mathworks.com!panix!not-for-mail
References: <41disc$e3v@toon.ctp.com> <41e842$1t3@usenet4.interramp.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news.mathworks.com!panix!not-for-mail
From: achacha@panix.com (Alex Chacha)
Newsgroups: comp.os.ms-windows.programmer.tools.mfc,comp.lang.c++,comp.lang.visual.basic
Subject: Re: Mixing VB and VC++
Followup-To: comp.os.ms-windows.programmer.tools.mfc,comp.lang.c++,comp.lang.visual.basic
Date: 23 Aug 1995 10:09:11 -0400
Organization: Baphomet's Brik-Braks
Message-ID: <41fcq7$h23@panix2.panix.com>
References: <41disc$e3v@toon.ctp.com> <41e842$1t3@usenet4.interramp.com>
NNTP-Posting-Host: panix2.panix.com
X-Newsreader: TIN [version 1.2 PL2]