getting around win98 shutdown bug

This is a discussion on getting around win98 shutdown bug within the Windows Programming forums, part of the Platform Specific Boards category; Because of novell we put 98se on all our computers here where I work. We just bought 50 new one's, ...

  1. #1
    PC Fixer-Upper Waldo2k2's Avatar
    Join Date
    May 2002
    Posts
    2,001

    getting around win98 shutdown bug

    Because of novell we put 98se on all our computers here where I work. We just bought 50 new one's, and they're all affected by this bug horribly. They never shut down, even with a fresh install of 98, no drivers, nothing. I can disable and tweak acpi till the cows come home but it doesn't matter. So here's what I'm playing with. I wrote a program that does the following:
    Code:
    system("rundll32 shell32.dll,SHExitWindowsEx 4");
    to kill all running applications (which includes the novell zenworks desktop launcher). Now I could use assembly or something to shutdown or restart the computer. I tried int 19h but that didn't work because the exitwindows command kills the program that called it too, so 19h never gets called. So, does anyone know how to shut this thing down without using windows functions??
    PHP and XML
    Let's talk about SAX

  2. #2
    Registered User plungermonkey's Avatar
    Join Date
    Dec 2002
    Posts
    6
    I dont know if you've tries this or not, but these folk have a fix:

    http://www.911networks.com/win9x_shutdown.htm

    HTH

    -Jef

  3. #3
    PC Fixer-Upper Waldo2k2's Avatar
    Join Date
    May 2002
    Posts
    2,001
    thanks, that gives me a few more things to try first.
    PHP and XML
    Let's talk about SAX

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. gaks bug?
    By Yarin in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 08-31-2008, 03:47 PM
  2. ATL bug of CComPtr?
    By George2 in forum Windows Programming
    Replies: 6
    Last Post: 04-07-2008, 08:52 AM
  3. startup program deleting shutdown? Need help
    By Miestese in forum Linux Programming
    Replies: 2
    Last Post: 07-06-2005, 10:05 PM
  4. shutdown()
    By Hunter2 in forum Networking/Device Communication
    Replies: 6
    Last Post: 03-18-2004, 07:43 PM
  5. Win98 Won't shutdown...
    By ober in forum Tech Board
    Replies: 5
    Last Post: 03-14-2003, 09:20 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21