How does a VB app know which dll/ocx to use if there is a copy of it in app.path and c:windows\system32 ?
Someone told me once that there is a search order used by an application, but I don't remember.
thanks
kevin
Printable View
How does a VB app know which dll/ocx to use if there is a copy of it in app.path and c:windows\system32 ?
Someone told me once that there is a search order used by an application, but I don't remember.
thanks
kevin
Yes there is. Let me see if I can remember it correctly.
[list=1][*]Application Path[*]Windows (or Winnt)[*]Windows (Winnt)\System32[/list=1] I know there are a few more. So if anyone want to chime in with
the rest, go for it.
:)
And on OS such as Windows ME, 98, and 95:
3. WINDOWS/System
Application Path
Windows folder
System32 folder
System folder (not sure if it looks here on XP though, ME and below it does)
C:\i386 (I believe it checks this...anyone know for sure?)
Other paths specified in files such as boot.ini and autorun.ini
cool, thanks
kebo
I do believe that the primary search location is the Registry to see if it is registered then if it is it looks in the registered location.