* * *

Author Topic: Windres and fprcp errors  (Read 730 times)

Awkward

  • New member
  • *
  • Posts: 32
Windres and fprcp errors
« on: June 06, 2016, 08:05:10 pm »
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  [Select]
  1. EDITTEXT IDC_HLP_NAME, 70,  5, 180, 12, ES_READONLY
2 - 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.

for file started from
Code: Pascal  [Select]
  1. #include "i_struct_const.inc"
  2.  
  3. LANGUAGE 0,0
  4.  
  5. IDD_STRUCTURE DIALOGEX 0, 0, 348,184, 0
  6. STYLE DS_SETFONT | DS_FIXEDSYS | WS_VISIBLE | WS_THICKFRAME
  7.  
(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

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus