"Christopher Gilmore" <[EMAIL PROTECTED]> wrote in message
news:7790@palm-dev-forum...
>     I am having issues with beaming whole databases.  I am using the
sample
> source code found at the Palm development zone.  It beams applications
fine
> but when I try to beam a .pdb instead of a .prc the receiving palm still
> thinks that it is an application.  I give the correct extension to the
name
> I pass to the ExgSocket.

I'm assuming you're using ExgDBWrite and calling ExgSend from your
ExgDBWriteProc. My guess is that you're beaming a resource database but
specifying a filename ending in ".pdb". This will be received as a resource
database because ExgDBWrite sends over the database header which includes a
flag indicating whether the database is a resource database or a record
database. The extension specified in the ExgSocket is used to determine
which application will accept the object. The launcher registers for ".prc",
".pdb", and ".pqa" extensions. Objects with any of these extensions will be
routed to the launcher. The launcher ignores the ExgSocket header
information when constructing the database because the database name and
type (resource vs. record) are embedded in the data stream.

Hope this helps.
--
Danny Epstein
OS Engineer, Palm Inc.


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to