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...
I want to make some kind of a data table and put it in resource.
Thank you...
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.
Otherwise, define it this way:
1 RCDATA
BEGIN
0x6f62, 0x7261, 0x1234
END
Use FindResource + LoadResource to load it into memory.
Thanx a lot bomb01
You're welcome. :)