Luc Le Blanc wrote:
When handling a beam receive while it's not the running application, my app crashes when processing a MemCompare (as seen with 2 instances of Simulator, one beaming to the other). I know my app does not then have access to globals and anything outside segment 1, but the PalmOSRuntime_2iA5.lib, MSL_C++_PalmOS_2iA4A5.lib and the PalmOSGlue.lib libraries are linked to the first segment, and I have no other libraries in other segments. The target of the MemCompare is a UInt16 on the stack and a small chunk allocated by MemPtrNew. What can be wrong?
Oops! MemCompare is a proc I have written long ago to avoid bugs in the MemCmp API in early OS versions. It was residing in another segment, I moved it to segment 1, and everything is fine now.
-- Luc Le Blanc -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
