Menu

Re:WinInet, InternetReadFileEx not supported?

2002-08-26
2012-09-26
  • Nobody/Anonymous

    Hello,

    I've been devolping an application with Dev-C++ using the w32api and the WinInet library.  Everything seems to work well, accept it seems that the InternetReadFileEx() function isnt supported. I'm linking my program with Wininet and wsock32, and I am including the winsock and winet header files. The compiler reports:

    "main.o(.text+0xe1e):main.c: undefined reference to `InternetReadFileEx'"

    I believe this is some sort of bug or something, as all of the other wininet functions have worked, but not this one. Unfortunate because it's impossible to do asynchronous  communiactions without this function. Sigh.

    Info regarding the InternetReadFileEx function can be found here:  http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wininet/wininet/internetreadfileex.asp

    Can anyone offer some advice?

     
    • Nobody/Anonymous

      In case it matters, I forgot to mention that I'm using version 4.9.5.0

       
    • Nobody/Anonymous

      In case anyone else has this problem, I've found out that its a problem with mingw wininet.h header file not including the definiton. You can resolve the issue by grabing the cvs win32api of mingw, and just overwriting your wininet.h with the one form the cvs. Seems to work fine now.

      Some info on the problem can be found here:
      http://www.geocrawler.com/archives/3/6013/2002/7/0/9198178/
      and here:
      http://www.geocrawler.com/archives/3/6013/2002/7/0/9199151/

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.