prsht.h changes for Borland 64 bits

prsht.h changes for Borland 64 bits

Postby Antonio Linares » Wed Nov 09, 2022 2:43 pm

same as in Borland 32 bits:

look for:

UINT *pcRefParent; \

and replace it with:

UINT *pcRefParent;
regards, saludos

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

Re: prsht.h changes for Borland 64 bits

Postby Enrico Maria Giordano » Wed Nov 09, 2022 6:38 pm

Can we see a sample of the problem, please?
User avatar
Enrico Maria Giordano
 
Posts: 8715
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: prsht.h changes for Borland 64 bits

Postby Antonio Linares » Thu Nov 10, 2022 7:14 am

regards, saludos

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

Re: prsht.h changes for Borland 64 bits

Postby Enrico Maria Giordano » Thu Nov 10, 2022 8:41 am

Sorry, I can't find any samples of the problem.
User avatar
Enrico Maria Giordano
 
Posts: 8715
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: prsht.h changes for Borland 64 bits

Postby Antonio Linares » Thu Nov 10, 2022 8:46 am

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: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: prsht.h changes for Borland 64 bits

Postby Enrico Maria Giordano » Thu Nov 10, 2022 8:58 am

But then the same fix should be applied to MSC.
User avatar
Enrico Maria Giordano
 
Posts: 8715
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: prsht.h changes for Borland 64 bits

Postby Antonio Linares » Thu Nov 10, 2022 11:33 am

I never got it with MSVC
regards, saludos

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

Re: prsht.h changes for Borland 64 bits

Postby Enrico Maria Giordano » Thu Nov 10, 2022 2:01 pm

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
Enrico Maria Giordano
 
Posts: 8715
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: prsht.h changes for Borland 64 bits

Postby Antonio Linares » Thu Nov 10, 2022 6:54 pm

Dear Enrico,

Simply try to rebuild FWH 64 for BCC64
regards, saludos

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

Re: prsht.h changes for Borland 64 bits

Postby Enrico Maria Giordano » Thu Nov 10, 2022 8:08 pm

Can you tell me one single file that gives error if compiled with BCC 64 bit, please?
User avatar
Enrico Maria Giordano
 
Posts: 8715
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: prsht.h changes for Borland 64 bits

Postby Antonio Linares » Thu Nov 10, 2022 8:29 pm

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: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: prsht.h changes for Borland 64 bits

Postby Antonio Linares » Thu Nov 10, 2022 8:30 pm

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: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: prsht.h changes for Borland 64 bits

Postby Antonio Linares » Thu Nov 10, 2022 8:32 pm

BTW, the above xHarbour should say Harbour...

Fixing it now :-)
regards, saludos

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

Re: prsht.h changes for Borland 64 bits

Postby Enrico Maria Giordano » Thu Nov 10, 2022 10:01 pm

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
Enrico Maria Giordano
 
Posts: 8715
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: prsht.h changes for Borland 64 bits

Postby Antonio Linares » Fri Nov 11, 2022 7:22 am

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

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

Next

Return to Utilities / Utilidades

Who is online

Users browsing this forum: No registered users and 4 guests