Loading Windows.H

This is a discussion on Loading Windows.H within the C++ Programming forums, part of the General Programming Boards category; I am trying to load the windows.h. I am using visual c++ 6. This is Exactly how I typed it ...

  1. #1
    Registered User
    Join Date
    Apr 2004
    Posts
    3

    Loading Windows.H

    I am trying to load the windows.h. I am using visual c++ 6.

    This is Exactly how I typed it

    Code:
    #include <windows.h>
    and I get these errors

    Code:
    c:\program files\microsoft visual studio\vc98\include\winnt.h(1092) : error C2146: syntax error : missing ';' before identifier 'KSPIN_LOCK'
    c:\program files\microsoft visual studio\vc98\include\winnt.h(1092) : fatal error C1004: unexpected end of file found
    Any help would be appreciated.

  2. #2
    Registered User
    Join Date
    Mar 2004
    Posts
    536
    My winnt.h has 7222 lines and is 252,068 bytes long. The error message seems to indicate that your winnt.h has only 1092 lines, I think.

    Dave

  3. #3
    Registered User
    Join Date
    Apr 2004
    Posts
    3
    I just opened it and it is 7222 lines long.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Cargo loading system
    By kyle rull in forum C Programming
    Replies: 1
    Last Post: 04-20-2009, 12:16 PM
  2. added start menu crashes game
    By avgprogamerjoe in forum Game Programming
    Replies: 6
    Last Post: 08-29-2007, 01:30 PM
  3. loading
    By lilhawk2892 in forum C++ Programming
    Replies: 9
    Last Post: 09-03-2006, 08:31 PM
  4. Loading a bitmap (Without using glaux)
    By Shamino in forum Game Programming
    Replies: 7
    Last Post: 03-16-2006, 08:43 AM
  5. Loading Screen
    By pinkcheese in forum Windows Programming
    Replies: 2
    Last Post: 04-06-2002, 10:48 PM

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