Matthew D Moss wrote:
>> I need to include a 256 Byte long binary data ressource with CW
> 
> Use Rez.  It works.  Create a .r file similar to below
> Add the .r file to your CW project, and make sure you have the 
> appropriate file mapping in settings.

You can also use Rez to suck in an external file directly:

  /* something.r */

  #define SOMETHING_RES_TYPE    'type'    /* change this */
  #define SOMETHING_RES_ID      1000      /* change this, too */

  read SOMETHING_RES_TYPE (SOMETHING_RES_ID) "My_File.foo";


-slj-

Reply via email to