Hey, Ben. The crash was on POSE w/4.1 debug ROM, though you have a good point about the ARM / PACE environment switch. I'll have to test that and see if anything funky happens under the Sim. If so, I guess I can just compile the shared library lib in as a static library (good old 'monolithic' mode) for this project. Other projects that use the library don't do so from the context of SyncNotify, so I should still be able to enjoy the code reuse of the shared library.
But back to the crash -- upon further investigation, it happens as soon as I enter into the automatically-supplied inlined MyLib_OpenLibrary() function in the MyLib.h file that CW93 auto-generates as part of the Shared Library stationary. It's kind of hard to tell, because the CW93 IDE crashes about 95% of the time when I try to engage a debugging session of the shared library with a breakpoint in this inlined function. But when I moved the MyLib_OpenLibrary() code into the calling PRC, the crash goes away. So there's something fishy about calling the inlined function that causes the device to crash! -Jeff Ishaq Palm OS Certified Developer -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
