Article View: borland.public.cppbuilder.nativeapi
Article #5202Reset and restarting
From: Nerio
Date: Sat, 27 Aug 2005 23:55
Date: Sat, 27 Aug 2005 23:55
23 lines
1574 bytes
1574 bytes
My apologies for having clicked on the wrong site and sent message to your private address. > There are many places: > > 1) The "Startup" group in the Start Menu > > 2) The "Run" and "RunOnce" subkeys of the > "Software\Microsoft\Windows\CurrentVersion" key of the Register's > HKEY_CURRENT_USER and HKEY_LOCAL_MACHINE areas. > > It really depends on what your actual needs are, and what kind of systems > you are targetting. > > > Gambit > Sorry for trouble, but why ExitWindowsEx(EWX_FORCE or EWX_LOGOFF or EWX_SHUTDOWN, 0) go fine and ....(EWX_REBOOT or EWX_POWEROFF, 0) seem do nothing? (ExitWindows() has no reboot capabilities! or not?) PS destination operating systems are Windows ME and XP (with or whitout SP2) Many thanks Nerio
Technical Details
Message-ID:
<4310fd3c@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!newshub.sdsu.edu!peer01.west.cox.net!cox.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,1b699533025a4e6b,start X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Nerio" <ne_serzanti@tin.it> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Reset and restarting Date: Sun, 28 Aug 2005 01:55:12 +0200 Lines: 25 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2527 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 NNTP-Posting-Host: 82.53.152.139 Message-ID: <4310fd3c@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1125186876 82.53.152.139 (27 Aug 2005 16:54:36 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!newshub.sdsu.edu!peer01.west.cox.net!cox.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail