🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.upgrade
Article #332

Re: Upgrade from C++2006 to C++ 2007 - Windows Version Target Error

#332
From: Simon Guertin
Date: Thu, 21 Jun 2007 17:14
28 lines
1785 bytes
Craig Farrell wrote:
> Hi,
> 
>> I have no clue where this error comes from. But this time it does not 
>> happen from a newly created application.
> 
> 
> You could set Tools | Options | Environment Options |
> Show Command Line to ON and compare the compiler lines.
> Maybe there is a define missing or different that will
> stand out, e.g. NO_STRICT.
> 
> --Craig
> 
Thank you for the quick response.

I removed the NO_STRICT but it was not the cause of the error, but what 
is the use of that conditional define?

I found the source of my problem for the error above. The unit that was 
including Shlobj.hpp was defining: #define NO_WIN32_LEAN_AND_MEAN, I 
removed it and it worked fine.

I also found a mistake in the Codegear file: BluetoothAPIs.h

Thanks

Simon
Technical Details
Message-ID: <467ab196$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <46799629$1@newsgroups.borland.com> <4679a1b0@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10529a,1166abdefc4c926a
X-Google-Attributes: gid10529a,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Thu, 21 Jun 2007 13:14:04 -0400
From: Simon Guertin <sguertin_AT@trellianetworks.com>
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.upgrade
Subject: Re: Upgrade from C++2006 to C++ 2007 - Windows Version Target Error
References: <46799629$1@newsgroups.borland.com> <4679a1b0@newsgroups.borland.com>
In-Reply-To: <4679a1b0@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 70.50.240.227
Message-ID: <467ab196$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1182445974 70.50.240.227 (21 Jun 2007 10:12:54 -0700)
Lines: 28
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail