GetProcAddress fails to load a function from a dll with ERROR_PROC_NOT_FOUND when try to load from a diffrent path
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)GetProcAddress(