I've been having "fun" implementing standard PalmOS Find functionality. It
seems to be working OK now on a real Palm IIIx, but I was thrown off a bit
during debugging by the following things that I noticed:
1) It does not seem possible on POSE to stop a search in progress. My
program checks for events while in its find loop, per the examples, but when
running the emulator, clicking on the Stop button doesn't seem to do
anything. It does work on a real device, but I spent a bit of time trying to
debug it on POSE, figuring I was doing something wrong.
2) While using the CW 6 debugger to step through some of my code, I
noticed in the Find parameter block that the field strAsTyped contained my
search string, but strToFind showed up as pure garbage. However, passing
strToFind into FindStrInStr did match my records correctly as expected. Is
strToFind pointing to a string that has been converted to 2-byte chars or
something like that?
Doug Gordon