R
Richard Ayling
My app loads a dll at runtime. The dll's directory is set
in the Path value under
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersio
n\App Paths\<app name>.exe
When my app is run from a shortcut, it receives the
extended PATH environment variable and finds the dll, as
per the documentation.
When one of my document files is double clicked in
explorer, my app is run but does not receive the extended
PATH environment variable and so can not find the dll. I
can not locate this behaviour in the MSDN or knowledge
base.
Does this mean the App Paths key should not be used? Or is
there something else I should be doing?
in the Path value under
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersio
n\App Paths\<app name>.exe
When my app is run from a shortcut, it receives the
extended PATH environment variable and finds the dll, as
per the documentation.
When one of my document files is double clicked in
explorer, my app is run but does not receive the extended
PATH environment variable and so can not find the dll. I
can not locate this behaviour in the MSDN or knowledge
base.
Does this mean the App Paths key should not be used? Or is
there something else I should be doing?