Win98banter

Win98banter (http://www.win98banter.com/index.php)
-   Plug & Play (http://www.win98banter.com/forumdisplay.php?f=12)
-   -   Detecting whether a device driver is installed (http://www.win98banter.com/showthread.php?t=44673)

Leslie September 29th 08 07:48 PM

Detecting whether a device driver is installed
 
Hi All,

I have an application that can run on various versions of Windows, i.e. 98,
2000, XP. Unfortunately, there are several device drivers that can be used
by the application DLL. The first iteration used a COTS device driver to run
on WIN98, but a dedicated driver was developed for WIN2K and XP.
Unfortunately, it turns out that some legacy applications can use the earlier
driver while running on XP, in which case the newer driver has not, and
apparently WILL not, be installed. (They want to just plug in the upgraded
hardware without changing any software at all.) I can rewrite our API to use
either driver, but I am looking for a way to detect which driver has been
installed. LoadLibrary will not work, because the new driver is a .SYS file.
Is there a way to detect whether a .SYS file has been installed, other than
doing a directory search?

Thanks in advance,

Leslie


All times are GMT +1. The time now is 07:14 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Win98Banter.com