I am not sure that this actually works like you think it does... we 
tried this approach several years ago (make PDB, back it up to 
desktop, copy/paste the binary into a resource, then 
DmCreateDBFromImage it) and it didn't work. It WOULD create the DB, 
but not all of the records/resources, etc... I asked palm and they 
said that the DBIM format wasn't the same as the backed-up PDB. I 
found another way to do what I was trying to do, and haven't touched 
it again since. But just a word of warning...


Alan Pinstein
Synergy Solutions, Inc.
http://www.synsolutions.com
1-800-210-5293


>Its pretty easy if you are using CodeWarrior.  I have no idea how to get DBs
>into the resources using GCC, but I don't imagine it would be much harder.
>e-mail me if you need any help.
>
>-Jeff Valore <[EMAIL PROTECTED]>
> Triad Data Processing, Inc.
>
>-----Original Message-----
>From: Michael P. Hutchens, M.D., M.A.
>[mailto:[EMAIL PROTECTED]]
>Sent: Sunday, August 08, 1999 8:39 AM
>To: [EMAIL PROTECTED]
>Subject: DmCreateDatabaseFromImage
>
>
>I need to create a database from a DBIM type resource.  I'm using
>CW/Constructor on Macintosh.
>
>Here's my plan -- can anyone tell me whether this can be done more
>efficiently?
>
>1.  Use linux/perl tools to create database file.
>2.  Cut-and-paste database file into resource of type DBIM in resedit.
>3.  Use DmCreateDatabaseFromImage in my program.
>
>
>----------------------------------------------------------------------------
>--
>Michael Hutchens                               PregCalc 3.0 Professional:
>[EMAIL PROTECTED] 
>       http://www.thenar.com/pregcalc

Reply via email to