Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2006 Dec : Way to implement temporary 'flag' that remains until logoff or reboot?

www.cryer.info
Managed Newsgroup Archive

Way to implement temporary 'flag' that remains until logoff or reboot?

Subject:Way to implement temporary 'flag' that remains until logoff or reboot?
Posted by:"Mark" (..@ng.marrr.co.uk)
Date:Sat, 30 Dec 2006 23:01:18

Hi there,

I'm trying to set a flag in my application that stays set until the PC is
rebooted or shutdown and after the application setting the flag is
terminated. (so another instance of my application can detect that a certain
operation has been completed and doesn't need to be performed again until
the system is rebooted or logged out).

Using a Mutex or Semaphore doesn't work because once the setting application
closes, so does the mutex etc automatically.

Any information or areas within the SDK to look at would be greatly
appreciated.


Many thanks in advance,


Mark

Replies:

www.cryer.info
Managed Newsgroup Archive