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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Unresolved external reference error in InternetOpen() - C++

Unresolved external reference error in InternetOpen() - C++

Scheduled Pinned Locked Moved C / C++ / MFC
helpc++
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.
  • V Offline
    V Offline
    vptech19
    wrote on last edited by
    #1

    I want to use windows InternetOpen() function call. In the documentation it is mentioned as it can be used in "OS Versions: Windows CE 2.0 and later". But i came to know after some search as, it possible to use this function call in windows XP. I have included "Wininet.h" header file also to use this function call. when i compile the program it throws error as "error LNK2001: unresolved external symbol __imp__InternetOpenW@20". Help me to get rid of this issue. - vp

    C S 2 Replies Last reply
    0
    • V vptech19

      I want to use windows InternetOpen() function call. In the documentation it is mentioned as it can be used in "OS Versions: Windows CE 2.0 and later". But i came to know after some search as, it possible to use this function call in windows XP. I have included "Wininet.h" header file also to use this function call. when i compile the program it throws error as "error LNK2001: unresolved external symbol __imp__InternetOpenW@20". Help me to get rid of this issue. - vp

      C Offline
      C Offline
      Cedric Moonen
      wrote on last edited by
      #2

      You probably forgot to link to "Wininet.lib" as it is stated in the documentation[^].

      Cédric Moonen Software developer
      Charting control [v1.2]

      1 Reply Last reply
      0
      • V vptech19

        I want to use windows InternetOpen() function call. In the documentation it is mentioned as it can be used in "OS Versions: Windows CE 2.0 and later". But i came to know after some search as, it possible to use this function call in windows XP. I have included "Wininet.h" header file also to use this function call. when i compile the program it throws error as "error LNK2001: unresolved external symbol __imp__InternetOpenW@20". Help me to get rid of this issue. - vp

        S Offline
        S Offline
        ShilpiP
        wrote on last edited by
        #3

        Click here[^]

        Yes U Can ...If U Can ,Dream it , U can do it ...ICAN

        V 1 Reply Last reply
        0
        • S ShilpiP

          Click here[^]

          Yes U Can ...If U Can ,Dream it , U can do it ...ICAN

          V Offline
          V Offline
          vptech19
          wrote on last edited by
          #4

          Yes. i get rid of that issue. Thanks a lot to all of you.

          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