R
Rymfax
Hello, I was hoping someone could help me with a problem I'm having.
I've got a C# app that uses several DLL Imports from setupapi.dll and
others (Thanks again for the Help on those Willy). One import in
particular is SetupDiBuildDriverInfoList(), which builds a list of
potential drivers for a piece of hardware. This function uses the
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion
\DevicePath value key to determine which directories to look for
drivers in. In my C# app, before I call the
SetupDiBuildDriverInfoList() method, I add some directories to the
DevicePath registry key. For some reason, the
SetupDiBuildDriverInfoList() does not pick up those changes to the
registry key. I've verified that they are there and both in the
application and by using regedit. However, if I close my app and re-
open it, it does pick up the changes.
Is this something strange going on with the dll imports or is it
something else all-together?
Any help would be appreciated.
I've got a C# app that uses several DLL Imports from setupapi.dll and
others (Thanks again for the Help on those Willy). One import in
particular is SetupDiBuildDriverInfoList(), which builds a list of
potential drivers for a piece of hardware. This function uses the
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion
\DevicePath value key to determine which directories to look for
drivers in. In my C# app, before I call the
SetupDiBuildDriverInfoList() method, I add some directories to the
DevicePath registry key. For some reason, the
SetupDiBuildDriverInfoList() does not pick up those changes to the
registry key. I've verified that they are there and both in the
application and by using regedit. However, if I close my app and re-
open it, it does pick up the changes.
Is this something strange going on with the dll imports or is it
something else all-together?
Any help would be appreciated.