Hi Ben, I found out that all the strange things happened when I add another segment to my app because I drap my file with the PilotMain() function to the 2nd segment. I forgot that rule. My mistake. I fix it and it works OK now. Thanks again for your help and the help from MW tech support.
tnn __________________________________________________ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/