main logo
Subject: RE: FoxPro 8.0 Capacities
Author: "Mike Stewart"
Posted: 2003/04/30 19:36:00
 
View Entire Thread
New Search


-----Original Message-----
From: Leland F. Jackson, CPA [mailto:smvfp .at. mail DO.T smvfp.com]=20
Sent: Wednesday, April 30, 2003 4:14 PM
To: profox@leafe.com
Subject: Re: FoxPro 8.0 Capacities

>If I understand it correctly, C and C++ are related.

C++ is a superset of C.

> The class libraries come with objects that are little more that
shapes >and properties that allow a programmer to quickly assemble
programs of >windows, forms, dialog, etc.

Are you referring to Microsoft Foundation Classes (MFC)?

> The windows foundation classes are used to build Window O/S dialogs,
>windows, forms, etc.

Umm...no. How can you maintain that Windows is written in C (which not
all of it is) when C has no concept of a class?

> Also, other programs like VB, Office, IE, and outlook express use the
>same foundation classes which gives everything a consistent look and
feel.

Nope, wrong again. Fact is, they *don't* have consistent look and feel.
Contrast the latest version of Office against something written in VB.
OE looks nothing like Outlook.

> At one time, C++ was not used because it was simply to slow.

Got a source for that? Most C devs I knew back in the day didn't
immediately make the switch because of the learning curve involved.
Speed had little to do with it. At the end of the day, it all compiles
to assembly anyway.

> Supoort for windows themes is available as of Visual FoxPro 8.0, but I
>don't know if that is because Visual FoxPro now uses the Microsoft C++
>class libararies, or if Visual FoxPro is still based on its own C/C++
>libraries.

It's because it's relatively easy to do.

> The Visual FoxPro database engine, vfp.exe, and the runtime are
written >in C.

Not anymore. The Visual FoxPro OLE DB provider is written entirely in
C++, for instance.

>Mose games are written in pure C, because C++ object oriented code is
just >to slow.

Again, got a source? I know of quite a few games that are written in
C++ (MSFT's Halo, for instance). A lot of games take advantage of
DirectX, and though it's possible to use DirectX with C, it's a major
pain in the posterior.

Mike Stewart



 
©2003 Mike Stewart
<-- Prior Message New Search Next Message -->