Page 1 of 1

FWH 10.05

PostPosted: Mon May 31, 2010 12:27 pm
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

Re: FWH 10.05

PostPosted: Mon May 31, 2010 1:46 pm
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 view

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.

Re: FWH 10.05

PostPosted: Mon May 31, 2010 6:50 pm
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.

Re: FWH 10.05

PostPosted: Mon May 31, 2010 8:16 pm
by Antonio Linares
Michel,

Do you mean the prsht.h error ?

Re: FWH 10.05

PostPosted: Mon May 31, 2010 9:02 pm
by driessen
Antonio,

Indeed. I got the same error in xHarbour Builder.

Re: FWH 10.05

PostPosted: Mon May 31, 2010 10:19 pm
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 :-)

Re: FWH 10.05

PostPosted: Tue Jun 01, 2010 6:39 am
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

Re: FWH 10.05

PostPosted: Tue Jun 01, 2010 7:25 am
by driessen
Antonio,

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