View Single Post
  #1  
Old September 29th 08, 07:48 PM posted to microsoft.public.win98.pnp
Leslie
External Usenet User
 
Posts: 1
Default 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