What security feature disallows applications from loading DLLs from their own directory?
I have two DLLs named ws2_32.dll and wsock32.dll. I also have an application that i want to utilize these two dlls rather then the ones in system32 but it apears that it doesn't. I ran a dependency scanner and found that in fact the application does load these two DLLs rather then the ones in system32 folder.
How i know its not working: the dlls are suppose to make a log file. It succeeded in making the log file on winXP but not Windows 7.
I found some one else having same problem but with vista but that could be fixed by doing the following:
'set the registry key "HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\CurrentVersion\Image File Execution Options\DevOverrideEnable" to 1" '
However, i can't find the DevOverrideEnable field in my Windows 7 registry. so upon the suggestions of some friends i added the field in manually and set the value that didnt work either.
What i have tried:
On Admin account
Run as Admin
Set compatibility to xp
turn off all security features that i could get my hands on
all of that and no luck please advise.