Page 1 of 1

New FWH 15.08

PostPosted: Wed Sep 09, 2015 9:15 am
by Antonio Linares

Re: New FWH 15.08

PostPosted: Thu Sep 10, 2015 4:35 am
by dutch
Dear Antonio,

I try 15.08 but it cannot compile testuni2.prg and show below error but I cannot find what is the problem. It show some code between (')
Code: Select all  Expand view

testuni2.prg(1) Error E0016  Syntax error: ''

Thanks

Re: New FWH 15.08

PostPosted: Thu Sep 10, 2015 7:16 am
by Antonio Linares
Dutch,

I just built testuni2.prg and worked fine on first try.

Could you reinstall FWH 15.08 again ? Maybe you modified it by accident.

Re: New FWH 15.08

PostPosted: Fri Sep 11, 2015 6:06 am
by dutch
Dear Antonio,

I re-install and just modify buildx.bat to match xharbour and Bcc7 as below but it doesn't work and error the same. The other samples is fine.
d:\xharbour1506
d:\bcc7
Code: Select all  Expand view
@ECHO OFF
CLS
ECHO ฺฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฟ
ECHO ณ FiveWin for xHarbour 15.08 - Aug. 2015          xHarbour development power ณ
ECHO ณ (c) FiveTech 1993-2015 for Microsoft Windows 9X/NT/200X/ME/XP/Vista/7/8/10 ณ
ECHO ภฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤู
ECHO  ฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿

if A%1 == A GOTO :SINTAX
if NOT EXIST %1.prg GOTO :NOEXIST

ECHO Compiling...

if "%FWDIR%" == "" set FWDIR=.\..\
if "%XHDIR%" == "" set XHDIR=d:\xharbour1506
rem if "%2" == "/b" set GT=gtwin
rem if not "%2" == "/b" set GT=gtgui
set GT=gtgui

set hdir=%XHDIR%
set hdirl=%hdir%\lib
set bcdir=d:\bcc7
set fwh=%FWDIR%

%hdir%\bin\harbour %1 /n /i%fwh%\include;%hdir%\include /w /p %2 %3 > comp.log 2> warnings.log
IF ERRORLEVEL 1 GOTO COMPILEERRORS
@type comp.log
@type warnings.log

echo -O2 -e%1.exe -I%hdir%\include -I%bcdir%\include %1.c > b32.bc
%bcdir%\bin\bcc32 -M -c -v @b32.bc
:ENDCOMPILE

IF EXIST %1.rc %bcdir%\bin\brc32 -r -I%bcdir%\include %1

echo %bcdir%\lib\c0w32.obj + > b32.bc
echo %1.obj, + >> b32.bc
echo %1.exe, + >> b32.bc
echo %1.map, + >> b32.bc
echo %fwh%\lib\Fivehx.lib %fwh%\lib\FiveHC.lib + >> b32.bc
echo %hdirl%\rtl.lib + >> b32.bc
echo %hdirl%\vm.lib + >> b32.bc
echo %hdirl%\%GT%.lib + >> b32.bc
echo %hdirl%\lang.lib + >> b32.bc
echo %hdirl%\macro.lib + >> b32.bc
echo %hdirl%\rdd.lib + >> b32.bc
echo %hdirl%\dbfntx.lib + >> b32.bc
echo %hdirl%\dbfcdx.lib + >> b32.bc
echo %hdirl%\dbffpt.lib + >> b32.bc
echo %hdirl%\hbsix.lib + >> b32.bc
echo %hdirl%\debug.lib + >> b32.bc
echo %hdirl%\common.lib + >> b32.bc
echo %hdirl%\pp.lib + >> b32.bc
echo %hdirl%\pcrepos.lib + >> b32.bc
echo %hdirl%\ct.lib + >> b32.bc
echo %hdirl%\zlib.lib + >> b32.bc
echo %hdirl%\hbzip.lib + >> b32.bc
echo %hdirl%\libmisc.lib + >> b32.bc
echo %hdirl%\tip.lib + >> b32.bc
echo %hdirl%\png.lib + >> b32.bc

rem Uncomment these two lines to use Advantage RDD
rem echo %hdir%\lib\rddads.lib + >> b32.bc
rem echo %hdir%\lib\Ace32.lib + >> b32.bc

echo %bcdir%\lib\cw32.lib + >> b32.bc
echo %bcdir%\lib\import32.lib + >> b32.bc
echo %bcdir%\lib\uuid.lib + >> b32.bc
echo %bcdir%\lib\ws2_32.lib + >> b32.bc
echo %bcdir%\lib\psdk\odbc32.lib + >> b32.bc
echo %bcdir%\lib\psdk\rasapi32.lib + >> b32.bc
echo %bcdir%\lib\psdk\nddeapi.lib + >> b32.bc
echo %bcdir%\lib\psdk\msimg32.lib + >> b32.bc
echo %bcdir%\lib\psdk\psapi.lib + >> b32.bc
echo %bcdir%\lib\psdk\gdiplus.lib + >> b32.bc
echo %bcdir%\lib\psdk\iphlpapi.lib + >> b32.bc
echo %bcdir%\lib\psdk\shell32.lib, >> b32.bc

IF EXIST %1.res echo %1.res >> b32.bc

rem uncomment this line to use the debugger and comment the following one
if %GT% == gtwin %bcdir%\bin\ilink32 -Gn -Tpe -s -v @b32.bc
IF ERRORLEVEL 1 GOTO LINKERROR
if %GT% == gtgui %bcdir%\bin\ilink32 -Gn -aa -Tpe -s -v @b32.bc
IF ERRORLEVEL 1 GOTO LINKERROR
ECHO * Application successfully built *
%1
GOTO EXIT
ECHO

rem delete temporary files
@del %1.c

:COMPILEERRORS
@type comp.log
ECHO * Compile errors *
GOTO EXIT

:LINKERROR
ECHO * Linking errors *
GOTO EXIT

:SINTAX
ECHO    SYNTAX: Build [Program]     {-- No especifiques la extensiขn PRG
ECHO                                {-- Don't specify .PRG extension
GOTO EXIT

:NOEXIST
ECHO The specified PRG %1 does not exist

:EXIT

Antonio Linares wrote:Dutch,

I just built testuni2.prg and worked fine on first try.

Could you reinstall FWH 15.08 again ? Maybe you modified it by accident.

Re: New FWH 15.08

PostPosted: Fri Sep 11, 2015 7:27 am
by cnavarro
Dutch
File testuni2.prg is UTF-8
All files have UTF8 header in its three characters that identify them as UTF8
Open and save with Notepad for example

Re: New FWH 15.08

PostPosted: Fri Sep 11, 2015 9:23 am
by ukoenig
Hello,

I'm just working with class TPRINT
and noticed a change using the new release

Image

best regards
Uwe :?:

Re: New FWH 15.08

PostPosted: Fri Sep 11, 2015 9:42 am
by dutch
Dear Canavarro,

Yes, it is UTF-8, if I save with ANSI, it can not use UNICODE function anymore. How does it work (Unicode)?
cnavarro wrote:Dutch
File testuni2.prg is UTF-8
All files have UTF8 header in its three characters that identify them as UTF8
Open and save with Notepad for example

Re: New FWH 15.08

PostPosted: Fri Sep 11, 2015 9:56 am
by cnavarro
dutch wrote:Dear Canavarro,

Yes, it is UTF-8, if I save with ANSI, it can not use UNICODE function anymore. How does it work (Unicode)?
cnavarro wrote:Dutch
File testuni2.prg is UTF-8
All files have UTF8 header in its three characters that identify them as UTF8
Open and save with Notepad for example


I have not had any problems
I saved the file as ANSI and have built normally

Re: New FWH 15.08

PostPosted: Fri Sep 11, 2015 9:57 am
by cnavarro
ukoenig wrote:Hello,

I'm just working with class TPRINT
and noticed a change using the new release

Image

best regards
Uwe :?:


Uwe
You are using OemToAnsi?

Re: New FWH 15.08

PostPosted: Fri Sep 11, 2015 9:58 am
by ukoenig
NO

with the old release it was Ok like You can see on the screenshot.

best regards
Uwe :?:

Re: New FWH 15.08

PostPosted: Fri Sep 11, 2015 10:50 am
by nageswaragunupudi
ukoenig wrote:NO

with the old release it was Ok like You can see on the screenshot.

best regards
Uwe :?:

It is our responsibility to keep perfect backward compatibility.
Possible that in our anxiety to provide unicode support to the printer class some bugs might have rolled in.
Please help us to fix it by sending to my email some sample prg that I can reproduce your problem.

nageswaragunupudi [at] gmail [dot] com

Re: New FWH 15.08

PostPosted: Fri Sep 11, 2015 11:40 am
by ukoenig
In sample testprn3.prg I changed the 1. line

oPrn:cmSay( 1.0, 1.0, "Ä Ü Ö ä ö ü € ß", oFont,,CLR_BLACK,,PAD_LEFT )

oPrn:cmSay( 1.0, 10.5, "Superior Centro", oFont,,CLR_BLACK,,PAD_CENTER )
oPrn:cmSay( 1.0, 20.0, "Superior Derecha", oFont,,CLR_BLACK,,PAD_RIGHT )
oPrn:cmSay(28.0, 1.0, "Inferior Izquierda", oFont,,CLR_BLACK,,PAD_LEFT )
oPrn:cmSay(28.0, 10.5, "Inferior Centro", oFont,,CLR_BLACK,,PAD_CENTER )
oPrn:cmSay(28.0, 20.0, "Inferior Derecha", oFont,,CLR_BLACK,,PAD_RIGHT )

Image

best regards
Uwe :?:

Re: New FWH 15.08

PostPosted: Fri Sep 11, 2015 12:29 pm
by nageswaragunupudi
Fixed.
We can soon expect a revised build.
If you let me know your email address, I can send you the revised prg

Re: New FWH 15.08

PostPosted: Sat Sep 12, 2015 4:33 pm
by ukoenig
Mr. Rao,

thank You very much,
it is not very urgent, because there is still a lot
of other things to do.

best regards
Uwe :D

Re: New FWH 15.08

PostPosted: Tue Sep 15, 2015 6:19 am
by Antonio Linares
New build 2 already available:

viewtopic.php?p=181696#p181696