🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.upgrade
11 messages
11 total messages Started by Simon Guertin Wed, 20 Jun 2007 21:04
Upgrade from C++2006 to C++ 2007 - Windows Version Target Error
#325
Author: 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
Re: Upgrade from C++2006 to C++ 2007 - Windows Version Target Error
#327
Author: Craig Farrell
Date: Wed, 20 Jun 2007 21:54
11 lines
1447 bytes
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
Re: Upgrade from C++2006 to C++ 2007 - Windows Version Target Error
#332
Author: 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
Re: Upgrade from C++2006 to C++ 2007 - Windows Version Target Error
#336
Author: David Dean [CodeGear]
Date: Sat, 23 Jun 2007 19:05
11 lines
1459 bytes
In article <467ab196$1@newsgroups.borland.com>,
 Simon Guertin <sguertin_AT@trellianetworks.com> wrote:

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

   Did you enter that into QC?

-- 
-David Dean
CodeGear C++ QA Engineer
<http://blogs.codegear.com/ddean/>
Re: Upgrade from C++2006 to C++ 2007 - Windows Version Target Error
#337
Author: Simon Guertin
Date: Tue, 26 Jun 2007 17:27
11 lines
1503 bytes
David Dean [CodeGear] wrote:
> In article <467ab196$1@newsgroups.borland.com>,
>  Simon Guertin <sguertin_AT@trellianetworks.com> wrote:
> 
> 
>>I also found a mistake in the Codegear file: BluetoothAPIs.h
> 
> 
>    Did you enter that into QC?
> 
no, where is the link for that?
Re: Upgrade from C++2006 to C++ 2007 - Windows Version Target Error
#188
Author: David Dean [CodeGear]
Date: Wed, 27 Jun 2007 23:51
13 lines
1516 bytes
In article <46814d85$1@newsgroups.borland.com>,
 Simon Guertin <sguertin_AT@trellianetworks.com> wrote:

> >    Did you enter that into QC?
> > 
> no, where is the link for that?

<http://qc.codegear.com/wc/qcmain.aspx>

-- 
-David Dean
CodeGear C++ QA Engineer
<http://blogs.codegear.com/ddean/>
Re: Upgrade from C++2006 to C++ 2007 - Windows Version Target Error
#189
Author: Simon Guertin
Date: Thu, 28 Jun 2007 13:47
16 lines
1741 bytes
David Dean [CodeGear] wrote:
> In article <46814d85$1@newsgroups.borland.com>,
>  Simon Guertin <sguertin_AT@trellianetworks.com> wrote:
> 
> 
>>>   Did you enter that into QC?
>>>
>>
>>no, where is the link for that?
> 
> 
> <http://qc.codegear.com/wc/qcmain.aspx>
> 
One last thing :) Could you send me the original BluetoothAPIs.h file 
because I have modified mine to work and I don't remember which line 
causes the problem !
Re: Upgrade from C++2006 to C++ 2007 - Windows Version Target Error
#190
Author: David Dean [CodeGear]
Date: Thu, 28 Jun 2007 18:36
14 lines
1765 bytes
In article <4683bcd6$1@newsgroups.borland.com>,
 Simon Guertin <sguertin_AT@trellianetworks.com> wrote:

> One last thing :) Could you send me the original BluetoothAPIs.h file 
> because I have modified mine to work and I don't remember which line 
> causes the problem !

   Did you turn off the history feature in the IDE? By default it tracks 
the last 10 saves for a given file.

-- 
-David Dean
CodeGear C++ QA Engineer
<http://blogs.codegear.com/ddean/>
Re: Upgrade from C++2006 to C++ 2007 - Windows Version Target Error
#191
Author: Simon Guertin
Date: Thu, 28 Jun 2007 21:33
17 lines
1990 bytes
David Dean [CodeGear] wrote:
> In article <4683bcd6$1@newsgroups.borland.com>,
>  Simon Guertin <sguertin_AT@trellianetworks.com> wrote:
> 
> 
>>One last thing :) Could you send me the original BluetoothAPIs.h file 
>>because I have modified mine to work and I don't remember which line 
>>causes the problem !
> 
> 
>    Did you turn off the history feature in the IDE? By default it tracks 
> the last 10 saves for a given file.
> 
No, I have modified the file outside code gear.

But it is OK I just installed a new BCB 2007 on a different machine. I 
will report the bug and the workaround
Re: Upgrade from C++2006 to C++ 2007 - Windows Version Target Error
#192
Author: Simon Guertin
Date: Fri, 29 Jun 2007 15:36
21 lines
2213 bytes
Simon Guertin wrote:
> David Dean [CodeGear] wrote:
> 
>> In article <4683bcd6$1@newsgroups.borland.com>,
>>  Simon Guertin <sguertin_AT@trellianetworks.com> wrote:
>>
>>
>>> One last thing :) Could you send me the original BluetoothAPIs.h file 
>>> because I have modified mine to work and I don't remember which line 
>>> causes the problem !
>>
>>
>>
>>    Did you turn off the history feature in the IDE? By default it 
>> tracks the last 10 saves for a given file.
>>
> No, I have modified the file outside code gear.
> 
> But it is OK I just installed a new BCB 2007 on a different machine. I 
> will report the bug and the workaround
I have entered the bug 48296 in QC
Re: Upgrade from C++2006 to C++ 2007 - Windows Version Target Error
#193
Author: David Dean [CodeGear]
Date: Fri, 29 Jun 2007 17:07
11 lines
1618 bytes
In article <468527ff@newsgroups.borland.com>,
 Simon Guertin <sguertin_AT@trellianetworks.com> wrote:

> I have entered the bug 48296 in QC

   Thank you.

-- 
-David Dean
CodeGear C++ QA Engineer
<http://blogs.codegear.com/ddean/>
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads