Local DLLs not loading

I have two DLLs named ws2_32.dll and wsock32.dll. I also have an application that i want to utalize 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 .cap file logging the packets sent and received in tcp dump format. It succeeded in making the .cap file on winXP but not Win7.
I came upon 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 win7 registry. please advise.

Thank you,

i tried but it still doesn't work. i treid it again on XP and it works but not win7. must be some new security feature that needs to be dealt with.

Last edited:


Essential Member
If DevOverrideEnable doesn't exist in the registry, you can simply create it (as a DWORD value) with the string value set to 1.

i allready tried making the field my self and restarted but it gave no results :-(


Essential Member
What is the application that is attempting to utilize the DLL's?

its a game server. but its not just that application, it doesn't work with any thing. and on xp it works for everything. both of my Xp and win7 are 32 bit so thats not the problem. i bet its some new windows security thats preventing this


Essential Member
I'm going to assume judging by the advanced troubleshooting you already tried, that you've already tried running the App as an administrator?

yes i am trying it on an admin account


Essential Member
I mean right clicking the program and selecting the option "Run As Administrator"

I really was hoping that it would be something simple as that and i would feel foolish and be on my marry way but :-( it didn't work


Essential Member
What about running it in compatibility mode for XP? Right Click on it and select "Troubleshoot Compatibility"

still no good. i still believe that i have disable some kind of security system for it to star working.

sorry if its a pain dude, but that didn't work. i have been trying for the second day strait with no luck
any other ideas?

i am afraid that is not an option as i am developing software and require the use of this dll. does the registry entry " HKLM\ SYSTEM\CurrentControlSet\Control\Session Manager\KnownDLLs" have any thing to do with this problem? i tried taking off the dll with the same name off the list but it denied my permission.

This website is not affiliated, owned, or endorsed by Microsoft Corporation. It is a member of the Microsoft Partner Program.