Re: /bin/shutdown on ME

2002-11-18 Thread Mark Blackburn
Igor Pechtchanski wrote: Quoting from the ExitWindowsEx page on MSDN: Windows 95/98/Me: ExitWindowEx does not work from a console application. (the typo is theirs) One solution I tried, consequently, is making shutdown into a window (WinMain) application, using the run program as a template. N

Re: /bin/shutdown on ME

2002-11-14 Thread Igor Pechtchanski
On Thu, 14 Nov 2002, Corinna Vinschen wrote: > On Thu, Nov 14, 2002 at 08:07:04AM -0500, CBFalconer wrote: > > Under W98/4dos I do a command line shutdown using the alias: > > > > c:\windows\rundll.exe user.exe,exitwindows > > Do you suggest exec'ing the above from shutdown? Isn't there any >

Re: /bin/shutdown on ME

2002-11-14 Thread Corinna Vinschen
On Thu, Nov 14, 2002 at 08:07:04AM -0500, CBFalconer wrote: > Under W98/4dos I do a command line shutdown using the alias: > > c:\windows\rundll.exe user.exe,exitwindows Do you suggest exec'ing the above from shutdown? Isn't there any reliable function call? ExitWindowsEx() isn't very helpf

Re: /bin/shutdown on ME

2002-11-14 Thread CBFalconer
Corinna Vinschen wrote: > On Wed, Nov 13, 2002 at 09:29:18PM -0600, Chris Polley wrote: > > > > When I try to "shutdown -r now", Windows (ME 4.90.3000) complains > > that I "must quit [shutdown] before I quit Windows." If I click > > Cancel, shutdown complains "shutdown: Couldn't reboot: Incorrect

Re: /bin/shutdown on ME

2002-11-14 Thread Corinna Vinschen
On Wed, Nov 13, 2002 at 09:29:18PM -0600, Chris Polley wrote: > Hi, all: > > When I try to "shutdown -r now", Windows (ME 4.90.3000) complains that I "must quit >[shutdown] before I quit Windows." If I click Cancel, shutdown complains "shutdown: >Couldn't reboot: Incorrect function.", and if I c