<wild ass speculation>
It sounds like you've left the "static" signature on your function so that
when it is used from the external module it is not found and so it is
turning the return type to an Int, thereby losing the significant digits of
a pointer.
</wild ass speculation>
�
Kevin
-----Original Message-----
From: Combar, Curt [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 19, 1999 6:16 AM
To: 'Palm Developers Forum List'
Subject: Help with calls between modules
All,
��� I'm using CodeWarrior R5.� I have a subroutine to fetch a locked pointer
to my app info and return it as the return value.� As soon as I move this
code to another module (trying to break out DB routines to a seperate file
to keep things organized), the return value is always 0!� Moving the exact
same code all back into one single module makes it work.� What am I missing
here?� Is there some special compiler setting in CodeWarrior that allows
calls across modules to work properly?� All my code at this point is < 16K
bytes.� Thanks!
Curt