FWH 10.05

Post Reply
User avatar
Maurizio
Posts: 826
Joined: Mon Oct 10, 2005 1:29 pm
Contact:

FWH 10.05

Post by Maurizio »

Antonio ,

I have some questions about fwh 10.05 :

1 - The xHarbour from your site (where I download FW ) is the version of Borland 55
2 - The sources of DEBUG are not aligned ( version Alfa 0.53)
3 - I have this error with skin1.prg and skin2.prg
┌────────────────────────────────────────────────────────────────────────────┐
│ FiveWin for xHarbour 10.5 - May. 2010 xHarbour development power │▄
│ (c) FiveTech, 1993-2010 for Microsoft Windows 9X/NT/200X/ME/XP/Vista/7 │█
└────────────────────────────────────────────────────────────────────────────┘█
  ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Compiling...
".\..\"
xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6633)
Copyright 1999-2009, http://www.xharbour.org http://www.harbour-project.org/
Compiling 'SKIN2.prg' and generating preprocessed output to 'SKIN2.ppo'...
Lines 53, Functions/Procedures 2
Generating C source output to 'SKIN2.c'...
Done.
Borland C++ 5.82 for Win32 Copyright (c) 1993, 2005 Borland
skin2.c:
Borland Resource Compiler Version 5.40
Copyright (c) 1990, 1999 Inprise Corporation. All rights reserved.

Error prsht.h 1081 1: '#endif' before '#if'
* Linking errors *

Regards MAurizio
User avatar
Antonio Linares
Site Admin
Posts: 42521
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 75 times
Contact:

Re: FWH 10.05

Post by Antonio Linares »

Maurizio,

Please download Harbour and xHarbour from the links posted here:
viewtopic.php?f=16&t=2486&p=99125#p99125

If you downloaded FWH 10.5 before May 28, please download it again. Thanks

This function is required for Harbour in order to get the debugger working with the new Harbour version:

Code: Select all | Expand


function CurDir( x )

return HB_CurDir( x )
 

The prsht.h error is not clear yet how to solve it, but you can use this workaround in the meantime:
Place a #ifdef 1 before tha last #endif in such file.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
driessen
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Re: FWH 10.05

Post by driessen »

Antonio,

I got the same error using xHarbour Builder (Nov. 2009), the latest build.

What do I need to do to solve this problem ?

Thanks.
Regards,

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 24.09 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
Antonio Linares
Site Admin
Posts: 42521
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 75 times
Contact:

Re: FWH 10.05

Post by Antonio Linares »

Michel,

Do you mean the prsht.h error ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
driessen
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Re: FWH 10.05

Post by driessen »

Antonio,

Indeed. I got the same error in xHarbour Builder.
Regards,

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 24.09 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
Antonio Linares
Site Admin
Posts: 42521
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 75 times
Contact:

Re: FWH 10.05

Post by Antonio Linares »

I think I have found a possible reason for the error.

In prsht.h line 187 there is:

UINT *pcRefParent; \

if we remove tha trailing \ then the resources compiler compiles without error.

Please try it there and lets see if we are right, thanks :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
anserkk
Posts: 1333
Joined: Fri Jun 13, 2008 11:04 am
Location: Kochi, India
Has thanked: 2 times

Re: FWH 10.05

Post by anserkk »

Antonio Linares wrote:In prsht.h line 187 there is:

UINT *pcRefParent; \

if we remove the trailing \ then the resources compiler compiles without error.


With the above said change in c:\bcc582\include\prsht.h I am able to compile and run the FWH samples Skin1.Prg ans Skin2.Prg without any errors. :)

Regards
Anser
User avatar
driessen
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Re: FWH 10.05

Post by driessen »

Antonio,

You are a genius. Problem is solved. Thank you.
Regards,

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 24.09 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
Post Reply