used old borland resource compiler for my projects (have common *.inc files with constants in *.rc and *pas files), tried long time ago and today to use windres program. But got some problems
1 - fprcp don't replace constatns in resource file if they have commas right near name like here
EDITTEXT IDC_HLP_NAME, 70, 5, 180, 12, ES_READONLY
2 - windres always give error
D:\SVN\FPC\3.0.0\bin\i386-win32\windres.EXE: structopts.rc:5: syntax error
An unhandled exception occurred at $00402C57:
EInOutError: Disk Full
$00402C57
D:\SVN\FPC\3.0.0\bin\i386-win32\windres.EXE: preprocessing failed.
for file started from
#include "i_struct_const.inc"
LANGUAGE 0,0
IDD_STRUCTURE DIALOGEX 0, 0, 348,184, 0
STYLE DS_SETFONT | DS_FIXEDSYS | WS_VISIBLE | WS_THICKFRAME
(IDD_STRUCTURE i not replace usually but looks like it no matter)
how can i avoid these errors? fprcp source style is not too good to find problem fast. windres (i think) too