All pointers in CodeWarrior for Palm are 4 bytes long.  Yes, even with
single segment, small model code.  The only time a code reference is made
with a two bytes value is a relative jump.

You're only potential problem would be if your application got moved in
memory between when it passed the pointer to the shared library and when it
got called.  This can't happen while your program is running, so as long as
the library doesn't need to remember the callback addresses across
application launches, you should be fine.

"Stringer" <[EMAIL PROTECTED]> wrote in message
news:15666@palm-dev-forum...
> Or am I worrying about a triviality???  Does CodeWarrier
> automatically make all "pointers to functions" 4 byte addresses,
> even when compiling a single segment, small model, shared library?




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

Reply via email to