--- MedCalc <[EMAIL PROTECTED]> wrote:
> The following code snippet makes the Palm OS 5 simulator 
> crash when performing a search:
> 
> case sysAppLaunchCmdFind:
>     if (PrefGetAppPreferences(appFileCreator, appPrefID, &tempPrefs,
> &prefsSize, true) != noPreferenceFound)
>     {
>     if (tempPrefs.includeInGlobalFind) SearchDB
> ((FindParamsPtr)cmdPBP);
>     }
> break;
> 

Are you using any global variables?  (appFileCreator, appPrefID, etc.) 
Globals aren't available during most launch codes.


__________________________________________________
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com

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

Reply via email to