On Mon, 26 Jul 1999, Aaron Ardiri wrote:

> ---
> gDB = DmOpenDatabaseByTypeCreator(..)
> if (!gDB) {
>   VoidHand imageHandle = DmGetResource('DBIM', 1000);
>   
>   err = DmCreateDatabaseFromImage(MemHandleLock(imageHandle);
>   MemHandleUnlock(imageHandle);
>   DmReleaseResource(imageHandle);
> 
>   ...
> }
> ---
> 
>   does anyone know how to create a resource of type 'DBIM'
>   for gcc users?

You are probably using a command line such as "build-prc blahblahblah
*.bin". You can create arbitrary resources by creating files named
typeXXXX.bin.  In this case, you should make a file DBIM03e8.bin
containing the database image.  I'm not sure if the DB image is the same
as a .pdb file, or if it is some other format.

Ben Darnell
[EMAIL PROTECTED]


Reply via email to