There is a "close to overflowing the stack" after DmNewRecord(_PalmDatabase, &uiPos, ulSize);
in my application where uiPos == 80 and ulSize == 40. The stack view within the debugger does not indicate any recursion. DmNewRecord is called from a function about three levels higher, which makes an insert of about 100 records into a Palm-Database. I've very often been using the algorithm which inserts the records (Gremlins where ok up to 1000000 events). It's rather unlikley, that there is stack corruption involved. What else could it be? -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
