Thread: wininet.h error

  1. #1
    Registered User
    Join Date
    Feb 2005
    Location
    south africa
    Posts
    7
    hi

    I also got this error, but when I moved the wininet include after the windows definitions I still got a bunch of errors:
    Code:
    error C2059: syntax error : ';'
    on the BOOLAPI type. I cant understand this as it gets defined on top of wininet.h as:
    Code:
    #define BOOLAPI INTERNETAPI BOOL WINAPI;
    I also get a
    Code:
    Error executing cl.exe
    in my build log. Please If anybody can help me with this, because I've been googling since friday.

    I know this thread is old, but I really need help, so please no flames.

    thx

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Testing some code, lots of errors...
    By Sparrowhawk in forum C Programming
    Replies: 48
    Last Post: 12-15-2008, 04:09 AM
  2. Another syntax error
    By caldeira in forum C Programming
    Replies: 31
    Last Post: 09-05-2008, 01:01 AM
  3. Making C DLL using MSVC++ 2005
    By chico1st in forum C Programming
    Replies: 26
    Last Post: 05-28-2008, 01:17 PM
  4. Learning OpenGL
    By HQSneaker in forum C++ Programming
    Replies: 7
    Last Post: 08-06-2004, 08:57 AM
  5. Couple C questions :)
    By Divx in forum C Programming
    Replies: 5
    Last Post: 01-28-2003, 01:10 AM