Code: Select all
#include <windows.h>
RCDATA_0 RCDATA
MOVEABLE PURE LOADONCALL DISCARDABLE
LANGUAGE LANG_NEUTRAL, 0
BEGIN
'50 4B 03 04 14 00 00 00 08 00 6C 8E 83 25 A0 DE '
'2D 2A B0 C3 03 00 0E 3B 0F 00 08 00 00 00 52 53 '
'33 32 2E 48 4C 50 BC 5B 0B 74 1C D5 79 FE 77 25 '
...
...
'00 00 00 00 01 00 01 00 36 00 00 00 D6 C3 03 00 '
'00 00 '
END
This .rc file specifies a raw data resource for my application. The purpose of this .rc file is to include binary data directly in the executable file. I've made the .rc file using Resoucer Builder.
When I try to build my proyect I get the following error message:
Code: Select all
stdout: Invalid argument
windres.exe: resources.rc:7: parse error
make.exe: *** [resources_private.res] Error 1
What is the problem? Has the .rc file generated by Resource Builder some errors or a format not valid for windres?