The PortIO95 Parallel Port Interface

Unloading the PortIO95 VxD

The PortIO95 VxD will dynamically unload when the application that opens it terminates. This should be true even if the application crashes. Windows 95 will always close open files on a program exit and a dynamically loaded VxD is treated much like an open file.

If you wish to manually unload the PortIO95 VxD you can issue the Windows 95 DeleteFile() command. For Visual C++ Version 4.0 it would be issued as:

IMPORTANT NOTE: there is no .VXD extension on the PortIO95 VxD filename in this call. If you provide one you really do delete the VxD file rather than just forcing an unload. See the discussion in the section on Loading the PortIO95 VxD for the reasons behind the multitude of backslashes in this command.


[Previous] [PortIO95 Home] [Next]