... "c:\fwh\include\winapi.ch" also all files names (icons, cursors, bitmaps, etc.) must be between quotes: " filename.... " Also change this line in buildg.bat: if exist %1.rc %mingw%\bin\windres -D__FLAT__ -DDIALOG=DIALOGEX -i%1.rc -o_%1.o
... to add the borland RC-file. Message : Brwtools.rc : 51 : syntax error // the 1. source line invalid argument I included your changes in BUILDG.bat if A%1 == A GOTO :SINTAX if NOT EXIST %1.prg GOTO :NOEXIST ECHO Compiling... set hdir=d:\harbour set hdirc=%hdir%\mingw32\harbour.exe ...