At 17:24 2002-11-21 -0500, you wrote:
FileStream.h in the OS 5 SDK gives the prototype asI recently installed SDK 5.0 and recompiled my application. I now find that the FileTell function returns an erroneous result for file position. Has anyone run into this problem?
extern Int32 FileTell(FileHand stream, Int32 *fileSizeP, Err *errP);
In the OS 4 SDK, this is declared as
extern Int32 FileTell(FileHand stream, Int32 *fileSizeP, Err *errP);
In other words, exactly the same.
Since the SDK version you use doesn't change the code that's actually on the device, there seems to be something else at play here. Is your code matching the prototype here type-for-type?
--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com
--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
