How to add raw binary data to a resource? And how to load it in the program?
I want to make some kind of a data table and put it in resource.
Thank you...
Posted on 2002-11-05 04:06:50 by Vaxon
If the raw data is a file on disk, add this line to .rc file: 1 RCDATA "a.gif", 1 being the resource name.

Otherwise, define it this way:
1 RCDATA
BEGIN
0x6f62, 0x7261, 0x1234
END

Use FindResource + LoadResource to load it into memory.
Posted on 2002-11-05 04:25:59 by C.Z.
Thanx a lot bomb01
Posted on 2002-11-05 06:12:36 by Vaxon
You're welcome. :)
Posted on 2002-11-05 07:21:05 by C.Z.