> OK, one more question real quick here... How do I put a DB image into my
> resources using CodeWarrior (I want to use it when calling
> DmCreateDatabaseFromImage() ).

Create a .r file with the one line:
read 'ABCD' (1000) "foo.pdb";

Add it to your project.
This will create an 'ABCD' resource with id #1000 containing the contents of
the foo.pdb file

You may need to setup Rez as the compiler for .r files:
In the "File Mappings" panel of the CodeWarrior Project Settings dialog:
  o  add a mapping with file type TEXT, extension ".r"
  o  and compiler "Rez".
Be sure that all four flags ("Resource File", "Launchable", "Precompiled"
and "Ignored by Make") are clear for this file mapping.

Reply via email to