In my program I had no problem with showing the dialog. So I used SysColdBoot (0, 2000, 0, 0, 0). I totally made up the 2000. As the source code to SysColdBoot is available I would recommend reading it. If you need to get past the "up down" dialog then you probably need to do some disassembly and find out what is called after you press up.
good luck, stuart On Fri, Dec 20, 2002 at 11:05:09AM +0100, Rodolphe Br?jaude wrote: > Hi, > I am interested in that function for personnal reasons (not virus, I swear) > but how do you use it exactly, what must you set for the different > parameters? > > I have tried, I vave a message box that appears, but it doesn't perform the > reset? > In the .h file, what is the SYS_TRAP(sysTrapSysColdBoot)? > what do you set for cardxSize and pointer? > > > /*SysColdBoot(void *card0P, UInt32 card0Size, > void *card1P, UInt32 card1Size, > UInt32 sysCardHeaderOffset) > SYS_TRAP(sysTrapSysColdBoot);*/ > > thanks > > ----- Original Message ----- > From: "Stuart Eichert" <[EMAIL PROTECTED]> > To: "Palm Developer Forum" <[EMAIL PROTECTED]> > Sent: Friday, December 20, 2002 2:44 AM > Subject: Re: Programmatic hard reset > > > > SysColdBoot(). The prototype is in SystemMgr.h. The source is available > > in the limited source release for OS 4.0. > > > > When you call SysColdBoot() it will prompt the user for up or down (like > > a normal hard reset). I had to use this to hard reset a device where the > > power button had stopped working. > > > > -- > > Stuart Eichert > > Cooperative Computers, Inc. > > [EMAIL PROTECTED] > > > > > > -- > > For information on using the Palm Developer Forums, or to unsubscribe, > please see http://www.palmos.com/dev/support/forums/ > > > -- > For information on using the Palm Developer Forums, or to unsubscribe, please see >http://www.palmos.com/dev/support/forums/ -- Stuart Eichert Cooperative Computers, Inc. [EMAIL PROTECTED] -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/