Antonio,
i deleted for control all BMP-entrys
a return-test in the original directory was ok.
[code]
The first lines of the BAT-file :
// ---------------------------------
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
set hlibs=d:\harbour\mingw32
if "%fwh%" == "" set fwh=d:\fwh
set mingw=d:\mingw
%hdirc% %1 /n /i%fwh%\include;%hdir%\include /w /p %2 %3 > clip.log
IF ERRORLEVEL 1 GOTO COMPILEERROR
@type clip.log
%mingw%\bin\gcc -c %1.c -o%1.o -I%hdir%\include -I%mingw%\include -Wall
IF ERRORLEVEL 1 GOTO COMPILEERROR
if exist %1.rc %mingw%\bin\windres -D__FLAT__ -DDIALOG=DIALOGEX -i%1.rc -o_%1.o
IF ERRORLEVEL 1 GOTO RESOURCESERROR
// The first lines of the RC-file :
// ---------------------------------
#include "d:\fwh\include\winapi.ch"
#ifdef __FLAT__
1 24 "WindowsXP.Manifest"
#endif
#define BITMAP_10 10
#define DIALOG_11 11
#define DIALOG_10 10
#define BITMAP_9 9
#define BITMAP_8 8
#define IDC_CTEXT1 13
#define IDC_CTEXT2 15
#define DIALOG_9 9
#define IDC_PUSHBUTTON6 11
#define DIALOG_8 8
#define BITMAP_7 7
#define DIALOG_7 7
#define DIALOG_6 6
#define BITMAP_6 6
#define BITMAP_5 5
#define BITMAP_4 4
#define BITMAP_3 3
#define DIALOG_5 5
#define DIALOG_1 1
#define BITMAP_2 2
#define BITMAP_1 1
#define ES_AUTOVSCROLL 0x0040
#define DIALOG_4 4
#define DIALOG_3 3
#define DIALOG_2 2
// !!!!! The error starts at begin of the first resource => DIALOG DIALOG -129, 19, 459, 297
The DOS-error-message :
Syntax error BRWTOOLS.RC:0: fatal error whwn writing output to : invalid argument compilation terminated
*resources* error
That means: the error doesn't come from the BMP-files
This RC-file works ok, when compiled with Borland.
DIALOG DIALOG -129, 19, 459, 297
STYLE DS_MODALFRAME | 0x4L | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Dialog de prueba - posibles bugs"
FONT 11, "Arial"
{
CONTROL "", 110, FOLDER32, 0 | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 141, 2, 315, 292
EDITTEXT 300, 3, 138, 134, 156, ES_MULTILINE | ES_AUTOVSCROLL | WS_BORDER | WS_VSCROLL | WS_HSCROLL | WS_TABSTOP
PUSHBUTTON "Header / Footer", 500, 3, 123, 134, 13
PUSHBUTTON "XBrowse-Preview", 210, 3, 1, 134, 13
CONTROL "", 200, "TXBrowse", 0 | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 3, 16, 134, 105
}
[code]
I tested without RC-files, to see if i get a EXE-file
There was a error :
MULTIPLE definition of HB_FUN_MESSAGEBOX
....
Is it possible, to save a error-message to a txt-file from inside the DOS-window ?
it makes it better, to explain.
Regards
Uwe