| | |
winbase.h problem
![]() |
•
•
Join Date: Nov 2008
Posts: 18
Reputation:
Solved Threads: 0
i am using pelles c
y am i getting these errors ?
something wrong wid the winbase header file??
if yes then can u tell me from where should i download another one
C:\Program Files\PellesC\Include\Win\basetsd.h(17): error #2001: Syntax error: expected ';' but found 'INT64'.
C:\Program Files\PellesC\Include\Win\basetsd.h(17): warning #2099: Missing type specifier.
C:\Program Files\PellesC\Include\Win\basetsd.h(21): error #2121: Redeclaration of '__int64'.
C:\Program Files\PellesC\Include\Win\basetsd.h(21): error #2001: Syntax error: expected ';' but found 'UINT64'.
C:\Program Files\PellesC\Include\Win\basetsd.h(21): warning #2099: Missing type specifier.
C:\Program Files\PellesC\Include\Win\basetsd.h(156): error #2121: Redeclaration of '__int64'.
C:\Program Files\PellesC\Include\Win\basetsd.h(156): error #2001: Syntax error: expected ';' but found 'ULONG64'.
C:\Program Files\PellesC\Include\Win\basetsd.h(156): warning #2099: Missing type specifier.
C:\Program Files\PellesC\Include\Win\basetsd.h(157): error #2121: Redeclaration of '__int64'.
C:\Program Files\PellesC\Include\Win\basetsd.h(157): error #2001: Syntax error: expected ';' but found 'DWORD64'.
C:\Program Files\PellesC\Include\Win\basetsd.h(157): warning #2099: Missing type specifier.
C:\Program Files\PellesC\Include\Win\winnt.h(288): error #2121: Redeclaration of '__int64'.
C:\Program Files\PellesC\Include\Win\winnt.h(288): error #2001: Syntax error: expected ';' but found 'ULONGLONG'.
C:\Program Files\PellesC\Include\Win\winnt.h(288): warning #2099: Missing type specifier.
C:\Program Files\PellesC\Include\Win\winnt.h(290): warning #2099: Missing type specifier.
C:\Program Files\PellesC\Include\Win\winnt.h(290): error #2121: Redeclaration of 'ULONGLONG'.
C:\Program Files\PellesC\Include\Win\winnt.h(290): error #2001: Syntax error: expected ';' but found '*'.
C:\Program Files\PellesC\Include\Win\winnt.h(290): warning #2099: Missing type specifier.
C:\Program Files\PellesC\Include\Win\winnt.h(301): error #2047: Expected a field name.
C:\Program Files\PellesC\Include\Win\winnt.h(315): error #2047: Expected a field name.
C:\Program Files\PellesC\Include\Win\winnt.h(2094): error #2047: Expected a field name.
C:\Program Files\PellesC\Include\Win\winnt.h(2590): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winnt.h(2591): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winnt.h(2592): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winnt.h(2593): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winnt.h(2594): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winnt.h(2595): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winnt.h(2596): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winnt.h(2597): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winnt.h(2598): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winnt.h(2599): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winnt.h(2787): error #2001: Syntax error: expected '}' but found 'DWORD64'.
C:\Program Files\PellesC\Include\Win\winnt.h(2788): warning #2099: Missing type specifier.
C:\Program Files\PellesC\Include\Win\winnt.h(2788): error #2001: Syntax error: expected ';' but found 'ExceptionAddress'.
C:\Program Files\PellesC\Include\Win\winnt.h(2788): warning #2099: Missing type specifier.
C:\Program Files\PellesC\Include\Win\winnt.h(2791): warning #2099: Missing type specifier.
C:\Program Files\PellesC\Include\Win\winnt.h(2791): error #2001: Syntax error: expected ';' but found 'ExceptionInformation'.
C:\Program Files\PellesC\Include\Win\winnt.h(2791): warning #2099: Missing type specifier.
C:\Program Files\PellesC\Include\Win\winnt.h(2792): error #2156: Unrecognized declaration.
C:\Program Files\PellesC\Include\Win\winnt.h(2792): warning #2099: Missing type specifier.
C:\Program Files\PellesC\Include\Win\winnt.h(2796): error #2001: Syntax error: expected '}' but found 'PCONTEXT'.
C:\Program Files\PellesC\Include\Win\winnt.h(2797): error #2156: Unrecognized declaration.
C:\Program Files\PellesC\Include\Win\winnt.h(2797): warning #2099: Missing type specifier.
C:\Program Files\PellesC\Include\Win\winnt.h(3176): error #2047: Expected a field name.
C:\Program Files\PellesC\Include\Win\winnt.h(3182): error #2078: Invalid struct field declarations.
C:\Program Files\PellesC\Include\Win\winnt.h(3182): error #2001: Syntax error: expected '}' but found 'DWORD64'.
C:\Program Files\PellesC\Include\Win\winnt.h(3183): warning #2099: Missing type specifier.
C:\Program Files\PellesC\Include\Win\winnt.h(3183): error #2001: Syntax error: expected ';' but found 'StackBase'.
C:\Program Files\PellesC\Include\Win\winnt.h(3183): warning #2099: Missing type specifier.
C:\Program Files\PellesC\Include\Win\winnt.h(3184): warning #2099: Missing type specifier.
C:\Program Files\PellesC\Include\Win\winnt.h(3184): error #2001: Syntax error: expected ';' but found 'StackLimit'.
C:\Program Files\PellesC\Include\Win\winnt.h(3184): warning #2099: Missing type specifier.
C:\Program Files\PellesC\Include\Win\winnt.h(3185): warning #2099: Missing type specifier.
C:\Program Files\PellesC\Include\Win\winnt.h(3185): error #2001: Syntax error: expected ';' but found 'SubSystemTib'.
C:\Program Files\PellesC\Include\Win\winnt.h(3185): warning #2099: Missing type specifier.
C:\Program Files\PellesC\Include\Win\winnt.h(3187): error #2078: Invalid union field declarations.
C:\Program Files\PellesC\Include\Win\winnt.h(3187): error #2001: Syntax error: expected '}' but found 'DWORD64'.
C:\Program Files\PellesC\Include\Win\winnt.h(3187): error #2014: Empty declaration.
C:\Program Files\PellesC\Include\Win\winnt.h(3189): error #2156: Unrecognized declaration.
C:\Program Files\PellesC\Include\Win\winnt.h(3190): warning #2099: Missing type specifier.
C:\Program Files\PellesC\Include\Win\winnt.h(3190): error #2001: Syntax error: expected ';' but found 'ArbitraryUserPointer'.
C:\Program Files\PellesC\Include\Win\winnt.h(3190): warning #2099: Missing type specifier.
C:\Program Files\PellesC\Include\Win\winnt.h(3191): warning #2099: Missing type specifier.
C:\Program Files\PellesC\Include\Win\winnt.h(3191): error #2001: Syntax error: expected ';' but found 'Self'.
C:\Program Files\PellesC\Include\Win\winnt.h(3191): warning #2099: Missing type specifier.
C:\Program Files\PellesC\Include\Win\winnt.h(3192): error #2156: Unrecognized declaration.
C:\Program Files\PellesC\Include\Win\winnt.h(3192): warning #2099: Missing type specifier.
C:\Program Files\PellesC\Include\Win\winnt.h(3650): error #2047: Expected a field name.
C:\Program Files\PellesC\Include\Win\winnt.h(3753): error #2047: Expected a field name.
C:\Program Files\PellesC\Include\Win\winnt.h(3785): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winnt.h(3786): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winnt.h(3787): error #2047: Expected a field name.
C:\Program Files\PellesC\Include\Win\winnt.h(3790): error #2047: Expected a field name.
C:\Program Files\PellesC\Include\Win\winnt.h(3794): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winnt.h(3795): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winnt.h(3796): error #2047: Expected a field name.
C:\Program Files\PellesC\Include\Win\winnt.h(3797): error #2047: Expected a field name.
C:\Program Files\PellesC\Include\Win\winnt.h(3867): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winnt.h(3868): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winnt.h(3869): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winnt.h(3870): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winnt.h(3905): error #2186: 'unsigned short int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winnt.h(3906): error #2186: 'unsigned short int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winnt.h(3907): error #2186: 'unsigned short int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winnt.h(3908): error #2186: 'unsigned short int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winnt.h(3909): error #2186: 'unsigned short int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winnt.h(3910): error #2186: 'unsigned short int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winnt.h(3933): error #2047: Expected a field name.
C:\Program Files\PellesC\Include\Win\winnt.h(3977): error #2047: Expected a field name.
C:\Program Files\PellesC\Include\Win\winnt.h(3978): error #2186: 'unsigned short int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winnt.h(3979): error #2186: 'unsigned short int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winnt.h(3980): error #2186: 'unsigned short int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winnt.h(4076): error #2047: Expected a field name.
C:\Program Files\PellesC\Include\Win\winnt.h(4087): error #2161: Extraneous old-style parameter list.
C:\Program Files\PellesC\Include\Win\winnt.h(4753): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winnt.h(4754): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\windef.h(166): warning #2203: Function 'FARPROC' can't be __stdcall, changed to __cdecl.
C:\Program Files\PellesC\Include\Win\windef.h(167): warning #2203: Function 'NEARPROC' can't be __stdcall, changed to __cdecl.
C:\Program Files\PellesC\Include\Win\windef.h(168): warning #2203: Function 'PROC' can't be __stdcall, changed to __cdecl.
C:\Program Files\PellesC\Include\Win\winbase.h(231): error #2047: Expected a field name.
C:\Program Files\PellesC\Include\Win\winbase.h(234): error #2047: Expected a field name.
C:\Program Files\PellesC\Include\Win\winbase.h(284): warning #2203: Function 'PTHREAD_START_ROUTINE' can't be __stdcall, changed to __cdecl.
C:\Program Files\PellesC\Include\Win\winbase.h(290): warning #2203: Function 'PFIBER_START_ROUTINE' can't be __stdcall, changed to __cdecl.
C:\Program Files\PellesC\Include\Win\winbase.h(440): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winbase.h(441): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winbase.h(442): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winbase.h(443): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winbase.h(444): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winbase.h(445): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winbase.h(446): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winbase.h(447): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winbase.h(470): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winbase.h(471): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winbase.h(472): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winbase.h(473): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winbase.h(474): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winbase.h(475): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winbase.h(476): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winbase.h(477): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winbase.h(478): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winbase.h(479): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winbase.h(480): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winbase.h(481): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winbase.h(482): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winbase.h(483): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winbase.h(525): error #2047: Expected a field name.
C:\Program Files\PellesC\Include\Win\winbase.h(526): error #2047: Expected a field name.
C:\Program Files\PellesC\Include\Win\winbase.h(746): warning #2099: Missing type specifier.
C:\Program Files\PellesC\Include\Win\winbase.h(746): error #2001: Syntax error: expected ';' but found 'LPCONTEXT'.
C:\Program Files\PellesC\Include\Win\winbase.h(746): warning #2099: Missing type specifier.
C:\Program Files\PellesC\Include\Win\winbase.h(748): warning #2099: Missing type specifier.
C:\Program Files\PellesC\Include\Win\winbase.h(748): error #2121: Redeclaration of 'PEXCEPTION_POINTERS'.
C:\Program Files\PellesC\Include\Win\winbase.h(748): error #2001: Syntax error: expected ';' but found 'LPEXCEPTION_POINTERS'.
C:\Program Files\PellesC\Include\Win\winbase.h(748): fatal error #2210: More than 100 errors, please improve yourself.
y am i getting these errors ?
something wrong wid the winbase header file??
if yes then can u tell me from where should i download another one
C Syntax (Toggle Plain Text)
#include<windows.h> main() { WinExec ("C:\\Windows\\Notepad.exe"); }
C:\Program Files\PellesC\Include\Win\basetsd.h(17): warning #2099: Missing type specifier.
C:\Program Files\PellesC\Include\Win\basetsd.h(21): error #2121: Redeclaration of '__int64'.
C:\Program Files\PellesC\Include\Win\basetsd.h(21): error #2001: Syntax error: expected ';' but found 'UINT64'.
C:\Program Files\PellesC\Include\Win\basetsd.h(21): warning #2099: Missing type specifier.
C:\Program Files\PellesC\Include\Win\basetsd.h(156): error #2121: Redeclaration of '__int64'.
C:\Program Files\PellesC\Include\Win\basetsd.h(156): error #2001: Syntax error: expected ';' but found 'ULONG64'.
C:\Program Files\PellesC\Include\Win\basetsd.h(156): warning #2099: Missing type specifier.
C:\Program Files\PellesC\Include\Win\basetsd.h(157): error #2121: Redeclaration of '__int64'.
C:\Program Files\PellesC\Include\Win\basetsd.h(157): error #2001: Syntax error: expected ';' but found 'DWORD64'.
C:\Program Files\PellesC\Include\Win\basetsd.h(157): warning #2099: Missing type specifier.
C:\Program Files\PellesC\Include\Win\winnt.h(288): error #2121: Redeclaration of '__int64'.
C:\Program Files\PellesC\Include\Win\winnt.h(288): error #2001: Syntax error: expected ';' but found 'ULONGLONG'.
C:\Program Files\PellesC\Include\Win\winnt.h(288): warning #2099: Missing type specifier.
C:\Program Files\PellesC\Include\Win\winnt.h(290): warning #2099: Missing type specifier.
C:\Program Files\PellesC\Include\Win\winnt.h(290): error #2121: Redeclaration of 'ULONGLONG'.
C:\Program Files\PellesC\Include\Win\winnt.h(290): error #2001: Syntax error: expected ';' but found '*'.
C:\Program Files\PellesC\Include\Win\winnt.h(290): warning #2099: Missing type specifier.
C:\Program Files\PellesC\Include\Win\winnt.h(301): error #2047: Expected a field name.
C:\Program Files\PellesC\Include\Win\winnt.h(315): error #2047: Expected a field name.
C:\Program Files\PellesC\Include\Win\winnt.h(2094): error #2047: Expected a field name.
C:\Program Files\PellesC\Include\Win\winnt.h(2590): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winnt.h(2591): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winnt.h(2592): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winnt.h(2593): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winnt.h(2594): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winnt.h(2595): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winnt.h(2596): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winnt.h(2597): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winnt.h(2598): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winnt.h(2599): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winnt.h(2787): error #2001: Syntax error: expected '}' but found 'DWORD64'.
C:\Program Files\PellesC\Include\Win\winnt.h(2788): warning #2099: Missing type specifier.
C:\Program Files\PellesC\Include\Win\winnt.h(2788): error #2001: Syntax error: expected ';' but found 'ExceptionAddress'.
C:\Program Files\PellesC\Include\Win\winnt.h(2788): warning #2099: Missing type specifier.
C:\Program Files\PellesC\Include\Win\winnt.h(2791): warning #2099: Missing type specifier.
C:\Program Files\PellesC\Include\Win\winnt.h(2791): error #2001: Syntax error: expected ';' but found 'ExceptionInformation'.
C:\Program Files\PellesC\Include\Win\winnt.h(2791): warning #2099: Missing type specifier.
C:\Program Files\PellesC\Include\Win\winnt.h(2792): error #2156: Unrecognized declaration.
C:\Program Files\PellesC\Include\Win\winnt.h(2792): warning #2099: Missing type specifier.
C:\Program Files\PellesC\Include\Win\winnt.h(2796): error #2001: Syntax error: expected '}' but found 'PCONTEXT'.
C:\Program Files\PellesC\Include\Win\winnt.h(2797): error #2156: Unrecognized declaration.
C:\Program Files\PellesC\Include\Win\winnt.h(2797): warning #2099: Missing type specifier.
C:\Program Files\PellesC\Include\Win\winnt.h(3176): error #2047: Expected a field name.
C:\Program Files\PellesC\Include\Win\winnt.h(3182): error #2078: Invalid struct field declarations.
C:\Program Files\PellesC\Include\Win\winnt.h(3182): error #2001: Syntax error: expected '}' but found 'DWORD64'.
C:\Program Files\PellesC\Include\Win\winnt.h(3183): warning #2099: Missing type specifier.
C:\Program Files\PellesC\Include\Win\winnt.h(3183): error #2001: Syntax error: expected ';' but found 'StackBase'.
C:\Program Files\PellesC\Include\Win\winnt.h(3183): warning #2099: Missing type specifier.
C:\Program Files\PellesC\Include\Win\winnt.h(3184): warning #2099: Missing type specifier.
C:\Program Files\PellesC\Include\Win\winnt.h(3184): error #2001: Syntax error: expected ';' but found 'StackLimit'.
C:\Program Files\PellesC\Include\Win\winnt.h(3184): warning #2099: Missing type specifier.
C:\Program Files\PellesC\Include\Win\winnt.h(3185): warning #2099: Missing type specifier.
C:\Program Files\PellesC\Include\Win\winnt.h(3185): error #2001: Syntax error: expected ';' but found 'SubSystemTib'.
C:\Program Files\PellesC\Include\Win\winnt.h(3185): warning #2099: Missing type specifier.
C:\Program Files\PellesC\Include\Win\winnt.h(3187): error #2078: Invalid union field declarations.
C:\Program Files\PellesC\Include\Win\winnt.h(3187): error #2001: Syntax error: expected '}' but found 'DWORD64'.
C:\Program Files\PellesC\Include\Win\winnt.h(3187): error #2014: Empty declaration.
C:\Program Files\PellesC\Include\Win\winnt.h(3189): error #2156: Unrecognized declaration.
C:\Program Files\PellesC\Include\Win\winnt.h(3190): warning #2099: Missing type specifier.
C:\Program Files\PellesC\Include\Win\winnt.h(3190): error #2001: Syntax error: expected ';' but found 'ArbitraryUserPointer'.
C:\Program Files\PellesC\Include\Win\winnt.h(3190): warning #2099: Missing type specifier.
C:\Program Files\PellesC\Include\Win\winnt.h(3191): warning #2099: Missing type specifier.
C:\Program Files\PellesC\Include\Win\winnt.h(3191): error #2001: Syntax error: expected ';' but found 'Self'.
C:\Program Files\PellesC\Include\Win\winnt.h(3191): warning #2099: Missing type specifier.
C:\Program Files\PellesC\Include\Win\winnt.h(3192): error #2156: Unrecognized declaration.
C:\Program Files\PellesC\Include\Win\winnt.h(3192): warning #2099: Missing type specifier.
C:\Program Files\PellesC\Include\Win\winnt.h(3650): error #2047: Expected a field name.
C:\Program Files\PellesC\Include\Win\winnt.h(3753): error #2047: Expected a field name.
C:\Program Files\PellesC\Include\Win\winnt.h(3785): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winnt.h(3786): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winnt.h(3787): error #2047: Expected a field name.
C:\Program Files\PellesC\Include\Win\winnt.h(3790): error #2047: Expected a field name.
C:\Program Files\PellesC\Include\Win\winnt.h(3794): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winnt.h(3795): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winnt.h(3796): error #2047: Expected a field name.
C:\Program Files\PellesC\Include\Win\winnt.h(3797): error #2047: Expected a field name.
C:\Program Files\PellesC\Include\Win\winnt.h(3867): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winnt.h(3868): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winnt.h(3869): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winnt.h(3870): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winnt.h(3905): error #2186: 'unsigned short int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winnt.h(3906): error #2186: 'unsigned short int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winnt.h(3907): error #2186: 'unsigned short int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winnt.h(3908): error #2186: 'unsigned short int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winnt.h(3909): error #2186: 'unsigned short int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winnt.h(3910): error #2186: 'unsigned short int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winnt.h(3933): error #2047: Expected a field name.
C:\Program Files\PellesC\Include\Win\winnt.h(3977): error #2047: Expected a field name.
C:\Program Files\PellesC\Include\Win\winnt.h(3978): error #2186: 'unsigned short int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winnt.h(3979): error #2186: 'unsigned short int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winnt.h(3980): error #2186: 'unsigned short int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winnt.h(4076): error #2047: Expected a field name.
C:\Program Files\PellesC\Include\Win\winnt.h(4087): error #2161: Extraneous old-style parameter list.
C:\Program Files\PellesC\Include\Win\winnt.h(4753): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winnt.h(4754): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\windef.h(166): warning #2203: Function 'FARPROC' can't be __stdcall, changed to __cdecl.
C:\Program Files\PellesC\Include\Win\windef.h(167): warning #2203: Function 'NEARPROC' can't be __stdcall, changed to __cdecl.
C:\Program Files\PellesC\Include\Win\windef.h(168): warning #2203: Function 'PROC' can't be __stdcall, changed to __cdecl.
C:\Program Files\PellesC\Include\Win\winbase.h(231): error #2047: Expected a field name.
C:\Program Files\PellesC\Include\Win\winbase.h(234): error #2047: Expected a field name.
C:\Program Files\PellesC\Include\Win\winbase.h(284): warning #2203: Function 'PTHREAD_START_ROUTINE' can't be __stdcall, changed to __cdecl.
C:\Program Files\PellesC\Include\Win\winbase.h(290): warning #2203: Function 'PFIBER_START_ROUTINE' can't be __stdcall, changed to __cdecl.
C:\Program Files\PellesC\Include\Win\winbase.h(440): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winbase.h(441): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winbase.h(442): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winbase.h(443): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winbase.h(444): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winbase.h(445): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winbase.h(446): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winbase.h(447): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winbase.h(470): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winbase.h(471): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winbase.h(472): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winbase.h(473): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winbase.h(474): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winbase.h(475): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winbase.h(476): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winbase.h(477): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winbase.h(478): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winbase.h(479): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winbase.h(480): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winbase.h(481): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winbase.h(482): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winbase.h(483): error #2186: 'unsigned long int' is an illegal bit-field type.
C:\Program Files\PellesC\Include\Win\winbase.h(525): error #2047: Expected a field name.
C:\Program Files\PellesC\Include\Win\winbase.h(526): error #2047: Expected a field name.
C:\Program Files\PellesC\Include\Win\winbase.h(746): warning #2099: Missing type specifier.
C:\Program Files\PellesC\Include\Win\winbase.h(746): error #2001: Syntax error: expected ';' but found 'LPCONTEXT'.
C:\Program Files\PellesC\Include\Win\winbase.h(746): warning #2099: Missing type specifier.
C:\Program Files\PellesC\Include\Win\winbase.h(748): warning #2099: Missing type specifier.
C:\Program Files\PellesC\Include\Win\winbase.h(748): error #2121: Redeclaration of 'PEXCEPTION_POINTERS'.
C:\Program Files\PellesC\Include\Win\winbase.h(748): error #2001: Syntax error: expected ';' but found 'LPEXCEPTION_POINTERS'.
C:\Program Files\PellesC\Include\Win\winbase.h(748): fatal error #2210: More than 100 errors, please improve yourself.
•
•
Join Date: Nov 2008
Posts: 18
Reputation:
Solved Threads: 0
http://userpages.umbc.edu/~squire/download/WinBase.h
i downloaded it from here
hey can u upload ur version of winbase.h ???
i downloaded it from here
hey can u upload ur version of winbase.h ???
uploading header files is useless without the libraries that go along with them. If they were not part of your compiler when you installed it then either (1) your compiler doesn't support them, or (2) download the entire Windows Platform SDK. You can also order it on DVD. This is a very large download and may take a lot of time over slow modem or outside USA.
Better approach is to ditch that compiler and download VC++ 2008 Express.
Better approach is to ditch that compiler and download VC++ 2008 Express.
Last edited by Ancient Dragon; Mar 4th, 2009 at 11:42 am.
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
![]() |
Similar Threads
- Windows Popup menu position problem (C++)
- Problem with ATL Win32 Service built with VC++ 6.0 SP6 Enterprise edition & WinXP SP2 (Windows NT / 2000 / XP)
- Issue with ATL Win32 Service built for VC++ 6.0 SP6 & WinXP SP2 (C++)
- one more try on Laser Game (C++)
- Laser game --Need help to finish (C++)
- How can I change console application font size? (C)
Other Threads in the C Forum
- Previous Thread: cd command in shell
- Next Thread: how to read a raw file of jpeg image using turbo c
| Thread Tools | Search this Thread |
#include adobe api array arrays asterisks binarysearch calculate char cm copyanyfile copyimagefile copypdffile cprogramme creafecopyofanytypeoffileinc createcopyoffile createprocess() csyntax database directory dynamic feet fflush fgets file fork forloop frequency getlasterror givemetehcodez global graphics gtkgcurlcompiling hacking hardware highest homework i/o include incrementoperators input interest kernel kilometer km linked linkedlist linux linuxsegmentationfault list locate logical_drives loopinsideloop. match matrix meter microsoft motherboard mqqueue mysql number odf open opensource owf pattern pdf performance pointer posix probleminc process program programming pyramidusingturboccodes radix read recursion recv repetition research scanf scheduling segmentationfault send sequential shape socket socketprograming stack standard string systemcall turboc unix user voidmain() wab win32api windows.h






