Forse ho qualche problema,
ho provato ad effettuare il link dell'esempio utilizzando il buildx.bat fornito da FWH ed ho una serie di segnalazioni:
┌────────────────────────────────────────────────────────────────────────────┐
│ FiveWin for xHarbour 8.04 - Apr. 2008 xHarbour development power │▄
│ (c) FiveTech, 1993-2008 for Microsoft Windows 95/98/NT/2000/ME/XP/Vista │█
└────────────────────────────────────────────────────────────────────────────┘█
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Compiling...
xHarbour Compiler build 1.1.0 (SimpLex)
Copyright 1999-2008,
http://www.xharbour.org http://www.harbour-project.org/
Compiling 'testzip.prg' and generating preprocessed output to 'testzip.ppo'...
testzip.prg(15) Warning W0005 RETURN statement with no return value in function
Lines 19, Functions/Procedures 1
Generating C source output to 'testzip.c'...
Done.
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
testzip.c:
Error E2209 k:\xharbour\include\hbvmpub.h 65: Unable to open include file 'asser
t.h'
Error E2209 k:\xharbour\include\hbdefs.h 58: Unable to open include file 'stdarg
.h'
Error E2209 k:\xharbour\include\hbdefs.h 59: Unable to open include file 'stdio.
h'
Error E2209 k:\xharbour\include\hbdefs.h 60: Unable to open include file 'stdlib
.h'
Error E2209 k:\xharbour\include\hbdefs.h 61: Unable to open include file 'string
.h'
Error E2209 k:\xharbour\include\hbsetup.h 65: Unable to open include file 'limit
s.h'
Error E2141 k:\xharbour\include\hbwince.h 165: Declaration syntax error
Error E2293 k:\xharbour\include\hbwince.h 166: ) expected
Error E2141 k:\xharbour\include\hbwince.h 167: Declaration syntax error
Error E2293 k:\xharbour\include\hbwince.h 168: ) expected
Error E2147 k:\xharbour\include\hbwince.h 169: 'wchar_t' cannot start a paramete
r declaration
Error E2147 k:\xharbour\include\hbwince.h 170: 'wchar_t' cannot start a paramete
r declaration
Error E2293 k:\xharbour\include\hbwince.h 171: ) expected
Error E2188 k:\xharbour\include\hbdefs.h 459: Expression syntax
Error E2257 k:\xharbour\include\hbdefs.h 481: , expected
Error E2139 k:\xharbour\include\hbvmpub.h 282: Declaration missing ;
Error E2141 k:\xharbour\include\hbapi.h 614: Declaration syntax error
Error E2451 testzip.c 31: Undefined symbol 'NULL'
Error E2141 testzip.c 31: Declaration syntax error
Error E2190 testzip.c 31: Unexpected }
Error E2190 testzip.c 31: Unexpected }
Error E2040 testzip.c 31: Declaration terminated incorrectly
Error E2190 testzip.c 31: Unexpected }
Error E2190 testzip.c 31: Unexpected }
Error E2040 testzip.c 31: Declaration terminated incorrectly
Error E2228 testzip.c 31: Too many error or warning messages
*** 26 errors in Compile ***
Borland Resource Compiler Version 5.40
Copyright (c) 1990, 1999 Inprise Corporation. All rights reserved.
Premere un tasto per continuare . . .
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Fatal: Unable to open file 'TESTZIP.OBJ'
* There are errors
K:\FWH\samples>
*********************************************
Questo è il mio buildx:
@ECHO OFF
CLS
ECHO ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
ECHO ³ FiveWin for xHarbour 8.04 - Apr. 2008 xHarbour development power ³Ü
ECHO ³ (c) FiveTech, 1993-2008 for Microsoft Windows 95/98/NT/2000/ME/XP/Vista ³Û
ECHO ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙÛ
ECHO ÿ ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß
if A%1 == A GOTO :SINTAX
if NOT EXIST %1.prg GOTO :NOEXIST
ECHO Compiling...
rem set hdir=k:\xharbour
rem set bcdir=k:\bcc55
k:\xharbour\bin\harbour %1 /n /i..\include;k:\xharbour\include /w /p %2 %3 > clip.log
@type clip.log
IF ERRORLEVEL 1 PAUSE
IF ERRORLEVEL 1 GOTO EXIT
echo -O2 -e%1.exe -Ik:\xharbour\include %1.c > b32.bc
k:\bcc55\bin\bcc32 -M -c -v @b32.bc
:ENDCOMPILE
IF EXIST %1.rc k:\bcc55\bin\brc32 -r %1
echo c0w32.obj + > b32.bc
echo %1.obj, + >> b32.bc
echo %1.exe, + >> b32.bc
echo %1.map, + >> b32.bc
echo ..\lib\Fivehx.lib ..\lib\FiveHC.lib + >> b32.bc
echo k:\xharbour\lib\rtl.lib + >> b32.bc
echo k:\xharbour\lib\vm.lib + >> b32.bc
echo k:\xharbour\lib\gtgui.lib + >> b32.bc
echo k:\xharbour\lib\lang.lib + >> b32.bc
echo k:\xharbour\lib\macro.lib + >> b32.bc
echo k:\xharbour\lib\rdd.lib + >> b32.bc
echo k:\xharbour\lib\dbfntx.lib + >> b32.bc
echo k:\xharbour\lib\dbfcdx.lib + >> b32.bc
echo k:\xharbour\lib\dbffpt.lib + >> b32.bc
echo k:\xharbour\lib\hbsix.lib + >> b32.bc
echo k:\xharbour\lib\debug.lib + >> b32.bc
echo k:\xharbour\lib\common.lib + >> b32.bc
echo k:\xharbour\lib\pp.lib + >> b32.bc
echo k:\xharbour\lib\pcrepos.lib + >> b32.bc
rem Uncomment these two lines to use Advantage RDD
echo k:\xharbour\lib\rddads.lib + >> b32.bc
echo k:\xharbour\lib\Ace32.lib + >> b32.bc
echo k:\bcc55\lib\cw32.lib + >> b32.bc
echo k:\bcc55\lib\import32.lib + >> b32.bc
echo k:\bcc55\lib\psdk\odbc32.lib + >> b32.bc
echo k:\bcc55\lib\psdk\rasapi32.lib + >> b32.bc
echo k:\bcc55\lib\psdk\nddeapi.lib + >> b32.bc
echo k:\bcc55\lib\psdk\iphlpapi.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
rem k:\bcc55\bin\ilink32 -Gn -Tpe -s -v @b32.bc
pause
k:\bcc55\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
:LINKERROR
ECHO * There are 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
**************
Qualche idea ? Devo forse reinstallare xharbour ?