Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Wininet.lib / Wininet.dll problem

Wininet.lib / Wininet.dll problem

Scheduled Pinned Locked Moved C / C++ / MFC
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    micutzu
    wrote on last edited by
    #1

    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.

    M D 2 Replies Last reply
    0
    • M micutzu

      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.

      M Offline
      M Offline
      Mike Dimmick
      wrote on last edited by
      #2

      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 because wininet.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

      M 1 Reply Last reply
      0
      • M Mike Dimmick

        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 because wininet.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

        M Offline
        M Offline
        micutzu
        wrote on last edited by
        #3

        Thanks a lot! I will give it a try.

        1 Reply Last reply
        0
        • M micutzu

          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.

          D Offline
          D Offline
          Dmitry Khudorozhkov
          wrote on last edited by
          #4

          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)

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups