MemPtrSetOwner(parametros, 0);
err = SysUIAppSwitch(cardNo,ClipID,sysAppLaunchCmdOpenDB,parametros );
return err; // ErrNone (0) means no error
}
I don't have the reference guide with me now, but shouldn't you pass the "parametros" parameter as a pointer ? Something like:
err = SysUIAppSwitch(cardNo,ClipID,sysAppLaunchCmdOpenDB, ¶metros);
--^--
Or others parameters as pointers too ? That's a common mistake in c. (Well, I do it all the time... :) )
Cheers conterrâneo !! :)
-- J. Machado
[EMAIL PROTECTED]
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/