> I have noticed that in my code(inherited from somebody) that there is a
> syslibopen call that uses a name.lib (noting the .), but the actual DB on
> the terminal is namelib(without the .).

I assume you're referring to SysLibFind. This API takes a shared library
name as an argument. This name needn't be the same as the name of the
database containing the library. (Arguably, it's less confusing if it is the
same.) When you install your shared library, you construct a dispatch table.
The first or last (I forget which) entry is the name of the shared library.

I suspect what's happening in your case is that the shared library name has
a dot in it, but the database name doesn't.

As a general rule, neither database names nor shared library names have
"extensions". When a database gets beamed or backed up on the desktop, a
".prc", ".pdb", or ".pqa" extension may be added. The exception to this rule
is PQAs. These do have extensions in their names; e.g., "Foo.pqa". If we
didn't do anything special, PQAs would get beamed and backed up with names
like "Foo.pqa.pdb" (because PQAs are record databases).

Probably more than you ever wanted to know about PQAs... :)
--
Danny @ PalmSource

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to