Resources | developer.brewmp.com Resources | developer.brewmp.com

Developer

resources

Binaries

The following Resource Editor screen shows a binary resource, which is raw data:

This CIF example shows the primitive for the binary resource. The values of the id and data fields are taken from the attributes shown in the Resource Editor, as indicated by the comments in bold.

The id value, IDS_BINARY_9001, is resolved to the numeric ID in myapp_res.h.

include "myapp_res.h" -- defines all the IDS_XXX
ModRsc{
   id    =  IDB_BINARY_9001,  -- ID
   type  = RESTYPE_MIMETYPED,     -- Binaries type
   data  =  "\255\0\170\187", -- Hex Data
}