Del Ventruella wrote:
Due to the complexity and risk of making users very unhappy, I am not inclined
to attempt to develop a conduit with the first version of the software I am
developing. I understand that an automatic back-up download can be induced
using the latest version of the synchronizing software provided with Palm OS
devices. I also understand that one can load a database back onto a Palm OS
device if one alters it externally and saves it in a Palm OS database format on
the PC in the proper sync file directory and listing.
Is there any example code available that will show me how to access the database from a Palm device on a PC? I'm running Windows. I'd probably attempt the access in Visual Basic 5.0 or using Borland C++ 4.5 (or in Visual Basic 5.0 using a C++ dll if necessary to patch any problems with data type conversions).
I'd also like to know if there are any instructions that show me how to use the
emulator as the device with which to sync. (I have it set to sync with a Sony
Clie.)
Can anyone help with these questions? Another question relates to any Palm OS dll's and
functions that are necessary to do this. I've got the 4.03 development kit. It doesn't
support my available Window's development environments and my OS, so I have some
trepidation with regard to its use and use of its functions. (I was hoping to find an
example that I could quickly adapt that would enable me to try to access and print to the
computer screen the content of a record of a designated index within a database that I
would "download" from the emulator.)
I also have some concerns regarding licensing issues due to the need to use
library functions that are permitted to be distributed with a conduit (given
that I am not writing a conduit, and am merely trying to access a downloaded
database file from a Palm device). I don't see how a database could be
accessed without Palm functions written for use under Windows to access unique
database structures and number representation. Some official reassurance would
be appreciated in that regard.
Thanks for any technical and manufacturer legal guidance here.
To open and save the data in a PDB format go and download the fileformat
description from PalmSource. Google is your friend. There are also a lot
of libraries outside to do this task. Again try google you might also
find stuff for VB.
To resync the PDB to the handheld you will need to call the right calls
from the InstAid.dll. Just a copy of the database in the correct
directory will not be enough. Therefore you will have a look into the
CDK documents.
Regards
Henk
PS: I have a ready-made conduit called EasyReplic, which will care about
the synchronization between handheld and desktop on PDB base.
Independent from the content of the PDB the modification date will
decide if the PDB is send to the handheld or backuped to the desktop.
You might try it, is free for freeware products and very cheap for
shareware (one time fee).
--
-------------------------------------------------------------------------
Henk Jonas [EMAIL PROTECTED]
Palm OS ® certified developer
Please contact me, if you need an off-site contract worker.
-------------------------------------------------------------------------
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/