astropirit

New Member
Joined
Jan 5, 2010
Messages
18
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,
Astropirit
 

astropirit

New Member
Joined
Jan 5, 2010
Messages
18
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:

Mitchell_A

Former Moderator
Joined
Feb 7, 2009
Messages
4,976
If DevOverrideEnable doesn't exist in the registry, you can simply create it (as a DWORD value) with the string value set to 1.
 

Solution

astropirit

New Member
Joined
Jan 5, 2010
Messages
18
i allready tried making the field my self and restarted but it gave no results :-(
 

astropirit

New Member
Joined
Jan 5, 2010
Messages
18
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
 

Mitchell_A

Former Moderator
Joined
Feb 7, 2009
Messages
4,976
I'm going to assume judging by the advanced troubleshooting you already tried, that you've already tried running the App as an administrator?
 

astropirit

New Member
Joined
Jan 5, 2010
Messages
18
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
 

Mitchell_A

Former Moderator
Joined
Feb 7, 2009
Messages
4,976
What about running it in compatibility mode for XP? Right Click on it and select "Troubleshoot Compatibility"
 

astropirit

New Member
Joined
Jan 5, 2010
Messages
18
still no good. i still believe that i have disable some kind of security system for it to star working.
 

astropirit

New Member
Joined
Jan 5, 2010
Messages
18
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?
 

Mitchell_A

Former Moderator
Joined
Feb 7, 2009
Messages
4,976
Well, does your hardware support XP mode?
Link Removed
look around there for requirements
 

astropirit

New Member
Joined
Jan 5, 2010
Messages
18
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.