I remember the original question was how to get the field names of
a record
Let's assume that we can retrieve the AppInfo block from the PDB
header. If the AppInfo block is defined as
typedef struct {
UInt16 renamedCategories;
CharcategoryLabels[16][16];
UInt8
so far I'm not convinced that we can retrieve the record structure
given an arbitrary pdb along with its AppInfo block.
With good reason--there is typically information about record
structure stored in the Appinfo block.
Regards,
Steve Mann
--
For information on using the Palm Developer Forums,
With good reason--there is typically information about record
structure stored in the Appinfo block.
Oops - typing too fast and not proofreading. Typically there is NO
information. Sorry about that.
Regards,
Steve Mann
--
For information on using the Palm Developer Forums, or to unsubscribe,
Thanks Doug for that clarification.
-Viren
--- In [EMAIL PROTECTED], Douglas Handy [EMAIL PROTECTED]
wrote:
Viren,
Correct. But Doug, how would I know what all info is it dumping in
the AppInfoBlock or SortInfoBlock ?
You don't have to know what or why they put something in those
Please, can you explain your question in more details ?
Do you wanna know the names of the fields of a PDB file ? If so, I am
sorry that is not possible to do since the PDB does not store
the names of fileds anyway. It stores the records as raw data. It
is the programmer who has to interprete
Thanks Doug for that explanation. And nice to see ya' after a long
time. :-)
No, things fell apart because you made the assumption the
recordlist info would
follow a 78 byte header. Per the Palm OS docs you need to account
for the
AppInfoBlock, if present, and the SortInfoBlock, if
Hi,
some CSV-PDB Converters store the field names in the AppInfoBlock of a
database. Take a look at DmDatabaseInfo to retrieve the AppInfoBlock if it
is there. Some FileManagers also show you, if a InfoBlock is there so check
this first before you do too much work.
Thomas
rguevara [EMAIL
Hi all, i need know the name field of the record in a PDB file for convert a PDB
to CSV file (i need for the INF file). Exist one application like par for show
this name fields?
--
Open WebMail Project (http://openwebmail.org)
--
For information on using the Palm Developer Forums, or to
Viren,
Correct. But Doug, how would I know what all info is it dumping in
the AppInfoBlock or SortInfoBlock ?
You don't have to know what or why they put something in those blocks, only that
they exist and how to get to the records. See the docs at
Hi there,
Hmmm. So you are using third-party tool for conversions. As Thomas
said in his reply, the names could be stored in header part of the
PDB. You may like to ask it to the implementers of the tool or crack
it out yourself.
I remember, in my ealrier days in Palm, when my company had
PROTECTED]
Sent: Wed, 13 Aug 2003 13:43:19 -
Subject: Re: How know the name fields of PDB file
Please, can you explain your question in more details ?
Do you wanna know the names of the fields of a PDB file ? If so, I am
sorry that is not possible to do since the PDB does not store
the names
AppForge has a dll for reading/writing their PDBs on the desktop. code
looks the same as it is on the handheld, so you could write an
extraction program with Visual Basic to work with the files fairly
quickly.
not that I advocate using AppForge, but the tools are all there.
David M
---
Viren,
our palm-reader ( in-house
developed utility ) was going for a toss sicne it was assuming that
what would follow after 78 bytes would be really a record header ( b-
bytes)...however, things used to fall apart thanks to AppForge
implementations.
No, things fell apart because you made
PROTECTED]
To: Palm Developer Forum [EMAIL PROTECTED]
Sent: Wed, 13 Aug 2003 14:22:07 -
Subject: Fw: Re: How know the name fields of PDB file
Hi there,
Hmmm. So you are using third-party tool for conversions. As Thomas
said in his reply, the names could be stored in header part of the
PDB. You may
14 matches
Mail list logo