> -----Original Message-----
> From: Shin Tanaka [mailto:[EMAIL PROTECTED]]
>
> Hi, I have a few questions about PDB file.
>
> I believe that it has something to do with a database.
Yes. A .PDB file is non-Pilot incarnation of a Pilot
database. There _are_no_files_ on the Pilot itself,
there are only databases. This can be a difficult concept
for people used to working on file-based systems to grasp.
> 1. How do I create a PDB file? Can a Hand-Hold create the file?
How do you create a PDB file for what? The format for a
DOC PDB file would be different than that for a JFile PDB
file.
App-specific format issues aside, there are tools out there
for writing PDB files on your PC. But perhaps the easiest way
is to have an app on the Pilot create a database, then hotsync
it & voila! A .PDB file in your backup directory!
> 2. If I separate a database from an application (by using different
> database ID and the application ID), does the database become
> a PDB file?
On the Pilot, there is no PDB file -- there is only a
database. In your backup directory, after hotsyncing
there will be a PDB file per database even if you did use the
same creator ID.
Perhaps what is at issue in your question is that -- on the
Pilot -- databases created with the same creator ID as an application
are sort of "rolled up" into the listing for that application
in the standard memory app. Rest assured, there is a separate
database. You can see them individually with 3rd party utilities
such as ZarfCatalog.
> 3. How to use the PDB file in a program? Can I use Dm function calls?
You would only use a PDB file with a non-Pilot-based program
(i.e. one running on a Mac or a PC).
On the Pilot, yes you would use the DmXxx() function calls to
access the database. The database will be backed up into a
.PDB file in your PC's backup directory when you hotsync.
--
-Richard M. Hartman
[EMAIL PROTECTED]
186,000 mi./sec ... not just a good idea, it's the LAW!