Wininet.lib / Wininet.dll problem
-
Hello, I have a question: I have an application that is using Wininet.lib (set in Object/Library module). On most of the machines works well – but on some machines using IE 7 the Wininet.dll is causing an application crash. So I have tried to put Wininet.dll in the same folder with my application (the Wininet.dll from my machine) but still no luck. Anyone can provide me a solution to fix this behavior. Thanks.
-
Hello, I have a question: I have an application that is using Wininet.lib (set in Object/Library module). On most of the machines works well – but on some machines using IE 7 the Wininet.dll is causing an application crash. So I have tried to put Wininet.dll in the same folder with my application (the Wininet.dll from my machine) but still no luck. Anyone can provide me a solution to fix this behavior. Thanks.
Test against IE 7.0 and work out where the problem occurs. If you get stuck, post the exact error message and error codes. The reason copying your own
wininet.dll
doesn't help is becausewininet.dll
is one of the KnownDLLs. See this KB article[^] for more on KnownDLLs. I strongly recommend you do not attempt to make Windows load your own copy of wininet.dll. This DLL maintains the browser's cache which may well have changed (indeed, probably did) between IE 6.0 and 7.0, and using the wrong version may well corrupt the cache, and any other common data structures used by the browser.Stability. What an interesting concept. -- Chris Maunder
-
Test against IE 7.0 and work out where the problem occurs. If you get stuck, post the exact error message and error codes. The reason copying your own
wininet.dll
doesn't help is becausewininet.dll
is one of the KnownDLLs. See this KB article[^] for more on KnownDLLs. I strongly recommend you do not attempt to make Windows load your own copy of wininet.dll. This DLL maintains the browser's cache which may well have changed (indeed, probably did) between IE 6.0 and 7.0, and using the wrong version may well corrupt the cache, and any other common data structures used by the browser.Stability. What an interesting concept. -- Chris Maunder
-
Hello, I have a question: I have an application that is using Wininet.lib (set in Object/Library module). On most of the machines works well – but on some machines using IE 7 the Wininet.dll is causing an application crash. So I have tried to put Wininet.dll in the same folder with my application (the Wininet.dll from my machine) but still no luck. Anyone can provide me a solution to fix this behavior. Thanks.
This is a very "popular" problem since the introduction of MS IE 7 beta. Cause of the problem: WinInet API validation code was changed in Vista/IE7 Solution they propose is, in short, re-check and re-write your code... Hope it helps, - Dmitry.
------------------------- Don't worry, be happy :o)