Alan may wish to double-check with whoever from palm told him that
DmCreateDatabaseFromImage doesn't work with .pdb files. That's exactly what it
works with. Copilot originally used that very function in order to install .prc
and .pdb files (Copilot would "call into" the emulated ROM in order to invoke
the Palm OS's version of the function). When I turned Copilot into the Palm OS
Emulator, I directly incorporated the source code for that function into my
sources (so that I could add the code that showed the progress indicator).
Current Poser sources include a lot more error checking when processing the
.prc, .pdb, or .pqa file, but the function is still based on
DmCreateDatabaseFromImage.

-- Keith Rollin
-- Palm OS Emulator engineer






Richard Hartman <[EMAIL PROTECTED]> on 08/09/99 01:45:47 PM

Please respond to [EMAIL PROTECTED]

Sent by:  Richard Hartman <[EMAIL PROTECTED]>


To:   "'palm-dev-forum @3com.com'" <[EMAIL PROTECTED]>
cc:    (Keith Rollin/HQ/3Com)
Subject:  RE: DmCreateDatabaseFromImage




Ok, they said that the DBIM format was not the same
as the backed up PDB ... did they manage to say what
the DBIM format -was- (as opposed to what it wasn't)?

--
-Richard M. Hartman
[EMAIL PROTECTED]

186,000 mi./sec ... not just a good idea, it's the LAW!


> -----Original Message-----
> From: Alan Pinstein [mailto:[EMAIL PROTECTED]]
> Sent: Monday, August 09, 1999 8:18 AM
> To: [EMAIL PROTECTED]
> Subject: RE: DmCreateDatabaseFromImage
>
>
> 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