Should be possible. For example,
1. intercept the sysAppLaunchCmdSystemReset
launch code and set an alarm for a suitable
time after the reset: TimGetSeconds()+5, say.
2. intercept sysAppLaunchCmdDisplayAlarm and then
use SysAppLaunch() to call your app to set the
config -- note that you won't have globals
available.
But do you really need to do all this? Why can't you
just save your configuration information in the saved
Application Preferences database which should survive
through a soft reset?
Regards, Nick
-----Original Message-----
From: Eric [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 26 August 1999 1:43
To: [EMAIL PROTECTED]
Subject: How to auto start my program after reset?
I need the user the setup the config after reset. how to start a
program automaticly after reset?
Eric
Electrical and Electronic Engineering
The Hong Kong University of Science and Technology
URL: http://home.ust.hk/~ee_slm