flat assembler
Message board for the users of flat assembler.

Index > Windows > Windows Restart

Author
Thread Post new topic Reply to topic
ManOfSteel



Joined: 02 Feb 2005
Posts: 1154
ManOfSteel 14 Aug 2007, 17:24
Hello,

I noticed that Win98SE has a problem with rebooting on some computers. Sometimes it just waits endlessly and never reboots the computer when using the 'Start > Shut Down > Restart' method or the ExitWindowsEx API, while it always works with the double CTRL+ALT+DEL method.

So I would like to know what's the software difference between the two methods and if it's possible to write a program that would do the same as the double CTRL+ALT+DEL method.

Thank you in advance.
Post 14 Aug 2007, 17:24
View user's profile Send private message Reply with quote
f0dder



Joined: 19 Feb 2004
Posts: 3174
Location: Denmark
f0dder 15 Aug 2007, 11:36
ctrl+alt+del is a pretty harsh way of rebooting, which doesn't give applications a chance to shut down correctly etc. - it shouldn't only be used as a last resort.

Win9x is full of flaws, and there are several related to shutdown... like not being able to do ACPI poweroff but only showing the "it's now safe to turn off your computer" etc.
Post 15 Aug 2007, 11:36
View user's profile Send private message Reply with quote
Yardman



Joined: 12 Apr 2005
Posts: 243
Location: US
Yardman 15 Aug 2007, 12:19
[ Post removed by author. ]


Last edited by Yardman on 04 Apr 2012, 02:26; edited 1 time in total
Post 15 Aug 2007, 12:19
View user's profile Send private message Reply with quote
ManOfSteel



Joined: 02 Feb 2005
Posts: 1154
ManOfSteel 16 Aug 2007, 09:38
@f0dder
Quote:
ctrl+alt+del is a pretty harsh way of rebooting, which doesn't give applications a chance to shut down correctly etc. - it shouldn't only be used as a last resort.

No problem since it would only be used to restart the computer after all 'foreground' programs have been closed and all unsaved data has been saved. And it is the last resort since all other ways have failed.

Quote:
Win9x is full of flaws, and there are several related to shutdown... like not being able to do ACPI poweroff but only showing the "it's now safe to turn off your computer" etc.

Crappy I know. But what's incredible here is that the problem appeared when I reinstalled Windows. It was working fine before and it's the exact same version I've reinstalled.

@Yardman
Quote:
Are you using EWX_FORCE with ExitWindowsEx?

yes, I am. But this is not the problem. Windows is already showing the restart screen when it stops responding, so obviously all applications are already terminated.

@NTOSKRNL_VXE
Yeah, I saw that one coming! A little bit harsh, but I guess it's the only way. Thanks.
Post 16 Aug 2007, 09:38
View user's profile Send private message Reply with quote
f0dder



Joined: 19 Feb 2004
Posts: 3174
Location: Denmark
f0dder 16 Aug 2007, 12:50
ManOfSteel wrote:

Crappy I know. But what's incredible here is that the problem appeared when I reinstalled Windows. It was working fine before and it's the exact same version I've reinstalled.

Win9x works in mysterious ways Smile

Perhaps you've modified APM/ACPI settings in BIOS between last install and the reinstall?
Post 16 Aug 2007, 12:50
View user's profile Send private message Reply with quote
ManOfSteel



Joined: 02 Feb 2005
Posts: 1154
ManOfSteel 18 Aug 2007, 06:19
I set BIOS settings when I first get a new computer. I rarely change them later. And the shutdown and suspend processes also use ACPI (don't they?) and they're working fine.
Post 18 Aug 2007, 06:19
View user's profile Send private message Reply with quote
sinsi



Joined: 10 Aug 2007
Posts: 794
Location: Adelaide
sinsi 18 Aug 2007, 06:30
I remember win98 had a problem with shutdown/reboot when a lot of network drives were mapped...
Post 18 Aug 2007, 06:30
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.