Forum > Windows

Windres and fprcp errors

(1/1)

Awkward:
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
 
--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---EDITTEXT IDC_HLP_NAME, 70,  5, 180, 12, ES_READONLY2 - windres always give error

--- Quote ---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.
--- End quote ---

for file started from

--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---#include "i_struct_const.inc" LANGUAGE 0,0 IDD_STRUCTURE DIALOGEX 0, 0, 348,184, 0STYLE 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

Navigation

[0] Message Index

Go to full version