Hi, Please bear with me while I explain a fairly complex (at least to me) setup which is causing an Invalid Chunk Pointer.
I have one application (written in PocketStudio although I'm pretty sure that is not relevant) calling a second app (Codewarrior) which (in its simplest form) does a find library, load library, CameraLibraryOpen, TurnPreviewOn .... then TurnPreviewOff, CameraLibraryClose, SysLibRemove then does a SysUIAppSwitch back to the calling application. This all works fine but when I go to close the calling application I get an Invalid Chunk Pointer. This happens if I only load and remove the library (no camera library open/close) but does not happen if I don't touch the library in the called routine so it looks strongly like it is related to loading and removing the library. The remove library is not throwing an error. I also tried switching back to a different app but same result - the switch back works but I get the invalid chunk ptr on closing THAT app. I noted the lack of support for library loading on simulators but sadly I get identical behaviour on the device. Any ideas what further investigation I can do into this? thanks Andrew Waites -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
