What was happening was I was calling:
FrmGotoForm(SetUserIDForm); then starting my loop
AddUserEventLoop(&pSQLInfo);

The FrmGotoForm was sending a frmCloseEvent to the current form which is out of 
scope and caused the crash. The calling form needs to stay open in the 
background.

All I needed to do is ignore the frmCloseEvent and it works fine now.

Thanks to all those who posted for your help.

Greg
-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to