🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#325
From: Simon Guertin
Date: Wed, 20 Jun 2007 21:04
32 lines
1751 bytes
Hi, another uprade problem:

When using Borland C++ 2006, I was using an enum RASET_Direct defined in
Borland\BDS\4.0\include\ras.h
#define RASET_Direct    3

and in 2007:
Rad Studio\5.0\Include\ras.h
--------------------
#if (WINVER < 0x600)
#define RASET_Direct    3  // Direct connect: serial, parallel
#endif
-------------------------

The problem is it does not compile if I don't select a target operating 
system.

But when I select Windows XP for example or Windows Xp service pack 2 it 
then gives me the error:

[BCC32 Error] Shlobj.hpp(239): E2257 , expected
this point to this line:
typedef _COMDLG_FILTERSPEC *PComdlgFilterSpec;

I have no clue where this error comes from. But this time it does not 
happen from a newly created application.

Any help is welcome.

Thanks.

Simon
Technical Details
Message-ID: <46799629$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10529a,1166abdefc4c926a,start
X-Google-Attributes: gid10529a,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Wed, 20 Jun 2007 17:04:48 -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: Upgrade from C++2006 to C++ 2007 - Windows Version Target Error
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 70.50.240.227
Message-ID: <46799629$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1182373417 70.50.240.227 (20 Jun 2007 14:03:37 -0700)
Lines: 32
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail