> read 'abc ' (Resource#) "DBName"; > > PalmRez does not like the last character of the TypeID to be a blank character. > ... > An obvious solution would be to change the TypeID so that the last character is > not a blank, but unfortunately the application has been released for several > years and I would like to preserve backward compatibility.
This sounds like a bug in the tool, but you can work-around it... As Ben wrote: > The type of the resource doesn't matter for the final > output -- the output's creator ID and type ID are determined by its > embedded PDB header. You should be able to use 'abcd' for the resource type. When you call DmCreateDatabaseFromImage, it'll use the type and creator embedded in the database header, which is part of the contents of the resource. Just use 'abcd' in your DmGetResource call and pass the result (after locking) to DmCreateDatabaseFromImage. - Danny -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
