prsht.h changes for Borland 64 bits

User avatar
Antonio Linares
Site Admin
Posts: 42273
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: prsht.h changes for Borland 64 bits

Post by Antonio Linares »

regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
Posts: 42273
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: prsht.h changes for Borland 64 bits

Post by Antonio Linares »

If you ever get the error, as I got it yesterday, then you know what to do :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
Posts: 42273
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: prsht.h changes for Borland 64 bits

Post by Antonio Linares »

I never got it with MSVC
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Enrico Maria Giordano
Posts: 8728
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: prsht.h changes for Borland 64 bits

Post by Enrico Maria Giordano »

Nonetheless it has the same slash. And I never get that error with BCC too. If you can provide a sample I will make some experiments.
User avatar
Antonio Linares
Site Admin
Posts: 42273
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: prsht.h changes for Borland 64 bits

Post by Antonio Linares »

Dear Enrico,

Simply try to rebuild FWH 64 for BCC64
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Enrico Maria Giordano
Posts: 8728
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: prsht.h changes for Borland 64 bits

Post by Enrico Maria Giordano »

Can you tell me one single file that gives error if compiled with BCC 64 bit, please?
User avatar
Antonio Linares
Site Admin
Posts: 42273
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: prsht.h changes for Borland 64 bits

Post by Antonio Linares »

Dear Enrico,

I can't, sorry, yesterday I was compiling several files and one of them failed with bcc 64 bits, but I just tried again to build all of them without modifying prsht.h and all of them compiled fine. Now I don't remember which exact file gave the error, I modified several modules. I would say it was now.prg but we have modified it, so it compiles fine with all compilers (32 and 64).

If I ever face it again then I will let you know it :-)

thanks
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
Posts: 42273
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: prsht.h changes for Borland 64 bits

Post by Antonio Linares »

Found it:
┌────────────────────────────────────────────────────────────────────────────┐
│ FiveWin for Harbour 22.10 bcc7 64bits Oct. 2022 xHarbour development power │▄
│ (c) FiveTech 1993-2022 for Microsoft Windows 9X/NT/200X/ME/XP/Vista/7/8/10 │█
└────────────────────────────────────────────────────────────────────────────┘█
  ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Compiling...
Harbour 3.2.0dev (r2011030937)
Copyright (c) 1999-2020, https://harbour.github.io/
Compiling 'fivedit0.prg' and generating preprocessed output to 'fivedit0.ppo'...
Lines 10121, Functions/Procedures 58
Generating C source output to 'fivedit0.c'... Done.
Embarcadero C++ 7.10 for Win64 Copyright (c) 2012-2015 Embarcadero Technologies, Inc.
fivedit0.c:
Borland Resource Compiler Version 5.40
Copyright (c) 1990, 1999 Inprise Corporation. All rights reserved.

Error prsht.h 917 1: '#endif' before '#if'
* Linking errors *
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
Posts: 42273
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: prsht.h changes for Borland 64 bits

Post by Antonio Linares »

BTW, the above xHarbour should say Harbour...

Fixing it now :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Enrico Maria Giordano
Posts: 8728
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: prsht.h changes for Borland 64 bits

Post by Enrico Maria Giordano »

Antonio Linares wrote:Found it:
┌────────────────────────────────────────────────────────────────────────────┐
│ FiveWin for Harbour 22.10 bcc7 64bits Oct. 2022 xHarbour development power │▄
│ (c) FiveTech 1993-2022 for Microsoft Windows 9X/NT/200X/ME/XP/Vista/7/8/10 │█
└────────────────────────────────────────────────────────────────────────────┘█
  ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Compiling...
Harbour 3.2.0dev (r2011030937)
Copyright (c) 1999-2020, https://harbour.github.io/
Compiling 'fivedit0.prg' and generating preprocessed output to 'fivedit0.ppo'...
Lines 10121, Functions/Procedures 58
Generating C source output to 'fivedit0.c'... Done.
Embarcadero C++ 7.10 for Win64 Copyright (c) 2012-2015 Embarcadero Technologies, Inc.
fivedit0.c:
Borland Resource Compiler Version 5.40
Copyright (c) 1990, 1999 Inprise Corporation. All rights reserved.

Error prsht.h 917 1: '#endif' before '#if'
* Linking errors *
Thank you, I'm investigating. I don't understand why even MSC has the same bugged prsht.h...
User avatar
Antonio Linares
Site Admin
Posts: 42273
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: prsht.h changes for Borland 64 bits

Post by Antonio Linares »

With the fix explained at the beginning of this thread, it works fine :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply