César,
In your RC:
#define RCDATA 10
name RCDATA "YourJpeg.JPEG"
From your application:
#define RT_RCDATA MAKEINTRESOURCE(10)
local hRes := FindResource( GetResources(), "name", RT_RCDATA )
local hGlobal := LoadResource( GetResources(), hRes )
Now we have the JPEG in memory, next is to convert it into a hBitmap. We still don't know how