wininet.h error

This is a discussion on wininet.h error within the C++ Programming forums, part of the General Programming Boards category; hi I also got this error, but when I moved the wininet include after the windows definitions I still got ...

  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 wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,333
    Split from wininet.h error
    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.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

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, 03: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, 12:10 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21