Windows 98 takes several minutes to close Device Driver

Windows 98 takes several minutes to close Device Driver

Post by Q3lib3J » Sun, 26 Nov 2006 11:28:02


I wrote an ISA Device Driver with Visual C++ and the Windows 98 DDK that runs
alright. The application that calls the Device Driver was written in Borland
C++.

However, when the application is closed, it takes several minutes for the
task to be removed from the Windows task list (although it went off screen
straight away). The application could not be renamed or overwritten until it
had finally exited from the Windows task list. Also Windows 98 does a
ScanDisk when rebooting after running this application.

I followed Walter Oney's advice in "Programming the Microsoft Windows Driver
Model" when closing the Device Driver by calling:
DispatchCleanup (fdo, Irp);
StopDevice (fdo);
RemoveDevice (fdo);

Also the application uses "CloseHandle" to close the handles that were
created for the Interface Card and the Event Flag used by the Interrupt
Handler inside the Device Driver. Furthermore the application uses
"DeviceIoControl" to tell the Device Driver to call "ObDereferenceObject
(pdx->event)" to release this Event Flag that was used by the Interrupt
Handler to synchronize the hardware with the software.

However the application still does not close cleanly.

Any clues or suggestions ?.
 
 
 

1. Closing Money takes several minutes.

2. Linux slopwa file copy takes 30 minutes, Windows takes 2 minutes

"Whenever I want to copy something from my USB disk, it takes "forever" to
finalise. Example, copying the pup_431.sfs file to the hard drive can take
anywhere up to half an hour, literally.

The same process in Windows takes a little more than a couple of minutes,
even if that long.

Is there anything I can configure to speed USB speed transfer.

Both above examples are on the same laptop (IBM T22 with 256Mb RAM). Same
problem no matter which version of puppy I use (ttuuxxx's versions, barry's
4.31, NOP, Stardust, Macpup, etc) "


http://www.yqcomputer.com/


Linux: worth what it costs.

3. Windows 98 device drivers

4. Where to find USB generic device drivers for Windows 98?

5. Select takes 5 minutes, With linked table takes 35 minutes.

6. DW takes 98% of CPU power after closing

7. Linux: takes days to get basic things to work, takes minutes in Windows

8. Logon to new domain takes several minutes

9. Setting db to multi_user taking several minutes

10. Logging into domain takes several minutes

11. Help PB takes several minutes to step when debugging using eXDI and ARM multiICE

12. outlook 2000 takes several minutes to load

13. outlook sometimes takes several minutes to open

14. Why is Outlook taking several minutes to start up?

15. IE6 takes several minutes to start