🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.migration
Article #236

Re: BCB5 to 2007

#236
From: Remy Lebeau (TeamB)
Date: Fri, 14 Mar 2008 21:06
24 lines
2021 bytes
"Marshall" <infsoft@centurytel.net> wrote in message 
news:47daded3$1@newsgroups.borland.com...

> I haven't seen a good reference yet as to what includes
> are needed for the different VCL objects???

That is described in each class's documentation.  The "unit" is the header 
file to include.  If you look at TStringGrid's documentation, you will see 
that it is declared in the "Grids" unit, so you would include "Grids.hpp" 
(VCL units that are written in Pascal always use ".hpp" as the file 
extension in C++).

> BTW: I'm not real thrilled about the upgrade (because of
> these little oddities, not unique to Borland)

This time around, it was more of a bug in your own code than a quirk of BCB. 
You simply were not including Grids.hpp in your code when you should have 
been all along.  BCB 5 managed to hide that detail from you and work around 
it, whereas BCB 2007 was able to point it out to you.  So the upgrade 
actually helped you by pointing out a bug you needed to fix.


Gambit
Technical Details
Message-ID: <47dae8eb$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <47dad19c$1@newsgroups.borland.com> <47dadc3e$1@newsgroups.borland.com> <47daded3$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 110f51,d6bd45b17d20d4da
X-Google-Attributes: gid110f51,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.migration
References: <47dad19c$1@newsgroups.borland.com> <47dadc3e$1@newsgroups.borland.com> <47daded3$1@newsgroups.borland.com>
Subject: Re: BCB5 to 2007
Date: Fri, 14 Mar 2008 14:06:59 -0700
Lines: 26
Organization: Lebeau Software
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 207.178.157.90
Message-ID: <47dae8eb$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1205528811 207.178.157.90 (14 Mar 2008 14:06:51 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail