Article View: borland.public.cppbuilder.nativeapi
Article #11805Re: Windows.hpp has errors...cool
From: Jayme
Date: Thu, 15 Jan 2004 16:24
Date: Thu, 15 Jan 2004 16:24
44 lines
2649 bytes
2649 bytes
"Nik" <armstrong_louie@hotmail.com> wrote in message news:4005e925@newsgroups.borland.com... > When compiling my project in C++Builder 6.0 under windows 2000, i get the > following errors > > [C++ Error] Windows.hpp(948): E2257 , expected > [C++ Error] Windows.hpp(952): E2257 , expected > [C++ Error] Windows.hpp(956): E2257 , expected > [C++ Error] Windows.hpp(960): E2257 , expected > [C++ Error] Windows.hpp(964): E2257 , expected > [C++ Error] Windows.hpp(970): E2257 , expected > [C++ Error] Windows.hpp(974): E2257 , expected > [C++ Error] Windows.hpp(980): E2257 , expected > [C++ Error] Windows.hpp(984): E2257 , expected > [C++ Error] Windows.hpp(990): E2257 , expected > [C++ Error] Windows.hpp(994): E2257 , expected > [C++ Error] Windows.hpp(1675): E2257 , expected > [C++ Error] Windows.hpp(1679): E2257 , expected > [C++ Error] Windows.hpp(1683): E2257 , expected > [C++ Error] Windows.hpp(1687): E2257 , expected > [C++ Error] Windows.hpp(1691): E2257 , expected > > > I'm not certain what changes I made that possibly could be causing this (as > it was compiling fine before). Note that I have not made any modifications > to borland generated files > > It seems to have something to do with the includes. Including other files in > my project.... > If i comment out two different includes and include back one or the other, > windows.hpp falls to pieces again. > > Note: When I make a new project that uses windows.hpp...it compiles fine. > > Nik posted the question for me...anyway, a temporary solution was stick stick an #include <vcl.h> into every cpp file that was complaining about Windows.hpp Why it works, I haven't the slightest.
Technical Details
Message-ID:
<4006bea8$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<4005e925@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,50317c0a26756b37 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2004-01-15 08:39:27 PST From: "Jayme" <jdunlop@connect.carleton.ca> Newsgroups: borland.public.cppbuilder.nativeapi References: <4005e925@newsgroups.borland.com> Subject: Re: Windows.hpp has errors...cool Date: Thu, 15 Jan 2004 11:24:34 -0500 Lines: 46 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 24.43.85.53 Message-ID: <4006bea8$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1074183848 24.43.85.53 (15 Jan 2004 08:24:08 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail