All Forums
 Microsoft Windows CE
 eVC Application Development
 Warm Reboot, Restart.exe, and SetCleanRebootFlag
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Author Topic  

wtang

17 Posts

Posted - 14 Jun 2004 :  12:20:37  Show Profile  Email Poster
The restart.exe or KernelIOControl can let the system perform a warm reboot. The object store is persistent after this. One way to erase the object store is to call OAL function "SetCleanRebootFlag". How to call this function from "SetCleanRebootFlag", or is there a way to allow my eVC++ application to access OAL function in general? Thanks.

opsens_claude_belleville

34 Posts

Posted - 06 Apr 2005 :  15:49:48  Show Profile

SetCleanRebootFlag is available in Coredll.lib

See : http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcedsn40/html/cgrefsetcleanrebootflag.asp

The header file is Pkfuncs.h from the plateform builder however I dont have it so I link the Coredll.lib to the project and added the following line.

extern "C" __declspec(dllimport) void SetCleanRebootFlag(void);

It seems to work fine

Hope it helps !

Go to Top of Page
  Topic  
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Jump To:
Eurotech Support Forums © Eurotech Inc. Go To Top Of Page
This page was generated in 0.02 seconds. Snitz Forums 2000