I am try to load a function from a dll in run time.
I want to avoid the old version dll that is located first in the path and to load the newer version of the dll.
I am trying
fnGetProcImFile = (LPFN_GETPROCIMAGEFILENAME
)GetProcAd
dress(
GetModuleHandle("<PATH_4_N
ewer_LIB>\
\psapi.dll
"), "GetProcessImageFileNameA"
);
It is keep failing.
What should I do ?
10x
Assaf
Start Free Trial