Article View: borland.public.cppbuilder.nativeapi
Article #4681BDS2006: TPoint/TRect no elements of namespace Windows. How to handle?
From: MR
Date: Tue, 20 Dec 2005 23:30
Date: Tue, 20 Dec 2005 23:30
22 lines
1411 bytes
1411 bytes
When porting a program from BCB5 to BDS2006 (C++ Preview) when using an external library (GR32) I got an error 'TPoint' is no element of 'Windows' in the line typedef Windows::TPoint TPoint; (Same with TRect) (In BCB5 is was accepted without problems...) Has there been a change in BDS2006 (or is it just because the C++ personality is currently 'preview'? Is there a 'best' way to fix this? If possible I would prefer not to change the external headers... Thanks a lot, Michael
Technical Details
Message-ID:
<ub3hq1ppopsmmq20qnb0fthjuvoufesk38@4ax.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,a722d7f837ed6e12,start X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: MR <> Newsgroups: borland.public.cppbuilder.nativeapi Subject: BDS2006: TPoint/TRect no elements of namespace Windows. How to handle? Date: Wed, 21 Dec 2005 00:30:42 +0100 Message-ID: <ub3hq1ppopsmmq20qnb0fthjuvoufesk38@4ax.com> X-Newsreader: Forte Free Agent 3.1/32.783 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 84.57.10.94 X-Trace: newsgroups.borland.com 1135121445 84.57.10.94 (20 Dec 2005 15:30:45 -0700) Lines: 23 Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail