Hi Fivewin Experts..
I recently downloaded an evaluation edition of Fivewin and copied the BuildH.bat posted on the site.. After changing the paths to point to the right directories, I tried to compile using a small program included in the samples directory. The compiling seems fine, however, an error occured during linking which I can't figured out. I am using Vista for 32 bit operations. A helping hand would be of great help. Below are the errors occured during linking:
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Fatal: Error detected (IMP1807)
Fatal: Access violation. Link terminated.
Warning: Unable to perform incremental link - performing full link...
Fatal: Access violation. Link terminated.
The following files were created:
02/13/2009 09:20 PM 574 b32.bc
02/13/2009 09:20 PM 11,975 TESTMDI5.c
02/13/2009 09:20 PM 65,536 TESTMDI5.ilc
02/13/2009 09:20 PM 65,536 TESTMDI5.ild
02/13/2009 09:20 PM 131,072 TESTMDI5.ilf
02/13/2009 09:20 PM 327,680 TESTMDI5.ils
02/13/2009 09:20 PM 367 clip.log
02/13/2009 09:20 PM 3,382 TESTMDI5.obj
02/13/2009 09:20 PM 1,343 TESTMDI5.ppo
02/09/1996 02:05 AM 1,131 TESTMDI5.PRG
02/13/2009 09:20 PM 65,536 TESTMDI5.tds
below is my BuildH.bat:
if A%1 == A GOTO :SINTAX
if NOT EXIST %1.prg GOTO :NOEXIST
ECHO Compiling...
set hdir=c:\xharbour\xharbour
set bcdir=c:\borland\bcc55
%hdir%\bin\harbour %1 /n /i..\include;%hdir%\include /p %2 %3 > clip.log
@type clip.log
IF ERRORLEVEL 1 PAUSE
IF ERRORLEVEL 1 GOTO EXIT
echo -O2 -e%1.exe -I%hdir%\include -tW %1.c > b32.bc
%bcdir%\bin\bcc32 -M -c @b32.bc
:ENDCOMPILE
IF EXIST %1.rc %bcdir%\brc32 -r %1
echo c0w32.obj + > b32.bc
echo %1.obj, + >> b32.bc
echo %1.exe, + >> b32.bc
echo %1.map, + >> b32.bc
echo C:\FWEVAL\lib\Five.lib + >> b32.bc
echo C:\FWEVAL\lib\FiveC.lib + >> b32.bc
echo %hdir%\lib\rtl.lib + >> b32.bc
echo %hdir%\lib\vm.lib + >> b32.bc
echo %hdir%\lib\gtwin.lib + >> b32.bc
echo %hdir%\lib\lang.lib + >> b32.bc
echo %hdir%\lib\macro.lib + >> b32.bc
echo %hdir%\lib\rdd.lib + >> b32.bc
echo %hdir%\lib\dbfntx.lib + >> b32.bc
echo %hdir%\lib\debug.lib + >> b32.bc
echo %hdir%\lib\common.lib + >> b32.bc
echo %hdir%\lib\pp.lib + >> b32.bc
echo %bcdir%\lib\cw32.lib + >> b32.bc
echo %bcdir%\lib\import32.lib >> b32.bc
IF EXIST %1.res echo %1.res >> b32.bc
%bcdir%\bin\ilink32 -aa -Tpe @b32.bc > err.txt
IF ERRORLEVEL 1 GOTO LINKERROR
ECHO * Application successfully built
ECHO
:LINKERROR
%1
rem if exist meminfo.txt notepad meminfo.txt
rem PAUSE * Linking errors *
GOTO EXIT
:SYNTAX
ECHO SYNTAX: Build [Program] {-- No especifiques la extensi¢n PRG
ECHO {-- Don't specify .PRG extension
GOTO EXIT
:NOEXIST
ECHO Not exist the specified PRG
:EXIT
Thanks a lot