Where to install shared DLLs on Windows

Posted by BruceCran on Stack Overflow See other posts from Stack Overflow or by BruceCran
Published on 2010-04-20T18:55:52Z Indexed on 2010/04/20 19:13 UTC
Read the original article Hit count: 203

Filed under:
|
|
|

I have a driver which can be installed on Windows (XP/Vista/7). It's accessed via a DLL that applications link to, and which is also a Winsock Provider (WSP). It used to be installed under System32, but having seen advice not to, I changed it to install under ProgramFiles instead.

Now, the problem is that people are having to either copy it back into System32 or copy it into the application directory whenever they want to use it in their own applications, because Windows won't search the install directory under ProgramFiles when the application tries to load the DLL.

I've been unable to find any Microsoft documentation discussing this issue, so if System32 shouldn't be used then where should shared DLLs be installed?

© Stack Overflow or respective owner

Related posts about Windows

Related posts about dll