My application calls for using multiple PDB files. I have hex edited my
one PDB file and modified the header's database 'type' field and saved
the PDB to another filename. So I now have two identical PDB files, except
for the database 'type' field. I load both PDBs onto the emulator(or
actual device) succesfully and proceed to Applications | Menu | Info...
expecting to see them both. I see one entry for both of them! I see the
db's name for the second db I loaded, and I see double the size and # of
records!!
My palm app use the DmGetNextDatabaseBy...() and I can iterate through
both of them nicely. But why are they showing up as one entry in the
Applications App.
My intentions are to have the users add/delete as many databases as they
like for my application. But deleting the one entry from the
Applications app. removes them all. I thought the type/creator fields are
what uniquely identifies databases. So my intentions were to have all my
PDB's with the same creator id as my app, but different type id's.
Is this behaviour intentional in the Application app.? If I call
DmDeleteDatabase(), will that delete only the one Database or all my apps
databases? Should I hide my PDB's from the Applications app and have a
delete db routine in my app?
Thank you,
Lenny Palozzi.