"pong" <[EMAIL PROTECTED]> wrote in message
news:59008@palm-dev-forum...
>
> Hi All,
>
> In Microsoft Platform, we develop an API by building a dll file with a
> corresponding lib file.
>
> Is this the same at the Palm OS platform?
There are no DLLs on the Palm. You can build shared libraries, which
are code resources with a special entry point. The OS allows calls into
the resource by mapping system traps to entries in a library dispatch
table. See the SampleLib project included with CodeWarrior for details
on setting up your own library -- but, beware that there are
restrictions on the format of the function calls -- they must have a
initial parameter which is used to map the instance of the call to the
library. This prevents them from being useful as C++ method calls.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/