Please Help - Problem with Compilers

This is a discussion on Please Help - Problem with Compilers within the C++ Programming forums, part of the General Programming Boards category; Can someone help me? I formatted my computer, I mean it is like new...but then I installed Microsoft Visual Studio ...

  1. #1
    Registered User
    Join Date
    May 2005
    Location
    Texas
    Posts
    103

    Please Help - Problem with Compilers

    Can someone help me? I formatted my computer, I mean it is like new...but then I installed Microsoft Visual Studio 6.0 and then Visual Studio 6.0 Service Pack 6. If it were that this (programs) didn't new the language. Then I tried this code:
    Code:
    #include <windows.h>
    
    int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpcmdline,
    				   int cmdshow)
    {
    	MessageBox(NULL, "MESSAGE BOX TEXT", "MESSAGE BOX", MB_OK | MB_ICONEXCLAMATION);
    	return (0);
    }
    But it gave me 42 errors...why?? I made the project as a Win32 Application and not Console...why is this?? Well Please someone help me...I tried it with Dev-C++ too...but it gaves me a lot of errors too...Why is this happening?? Here are the errors for Visual C++ 6.0 with Service Pack 6.0:
    Code:
    Build Log
    
    --------------------Configuration: Project - Win32 Debug--------------------
    
    Command Lines
    Creating temporary file "C:\WINDOWS\TEMP\RSP32D4.TMP" with contents
    [
    /nologo /MLd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /Fp"Debug/Project.pch" /YX /Fo"Debug/" /Fd"Debug/" /FD /GZ /c 
    "C:\Windows\Desktop\C++\Project\Code.cpp"
    ]
    Creating command line "cl.exe @C:\WINDOWS\TEMP\RSP32D4.TMP" 
    Creating temporary file "C:\WINDOWS\TEMP\RSP32D5.TMP" with contents
    [
    kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /incremental:yes /pdb:"Debug/Project.pdb" /debug /machine:I386 /out:"Debug/Project.exe" /pdbtype:sept 
    ".\Debug\Code.obj"
    ]
    Creating command line "link.exe @C:\WINDOWS\TEMP\RSP32D5.TMP"
    Output Window
    Compiling...
    Code.cpp
    c:\program files\microsoft visual studio\vc98\include\prsht.h(142) : error C2001: newline in constant
    c:\program files\microsoft visual studio\vc98\include\prsht.h(142) : error C2059: syntax error : 'string'
    c:\program files\microsoft visual studio\vc98\include\prsht.h(143) : error C2238: unexpected token(s) preceding ';'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(1) : error C2018: unknown character '0xf8'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(1) : error C2018: unknown character '0x1'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(1) : error C2018: unknown character '0xff'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(1) : error C2018: unknown character '0xff'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(1) : error C2018: unknown character '0xb8'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(1) : error C2018: unknown character '0x40'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(1) : error C2018: unknown character '0x80'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(1) : error C2018: unknown character '0xe'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(1) : error C2018: unknown character '0x1f'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(1) : error C2018: unknown character '0xba'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(1) : error C2018: unknown character '0xe'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(1) : error C2018: unknown character '0xb4'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(1) : error C2018: unknown character '0xcd'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(1) : error C2143: syntax error : missing ';' before '!'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(1) : error C2501: 'MZ' : missing storage-class or type specifiers
    c:\program files\microsoft visual studio\vc98\include\mcx.h(1) : error C2143: syntax error : missing ';' before '!'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(1) : error C2018: unknown character '0xb8'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(1) : error C2018: unknown character '0x1'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(1) : error C2018: unknown character '0xcd'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(2) : error C2018: unknown character '0x5'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(2) : error C2018: unknown character '0x1'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(2) : error C2018: unknown character '0xe6'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(2) : error C2018: unknown character '0x2'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(2) : error C2018: unknown character '0xf9'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(2) : error C2018: unknown character '0x98'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(2) : error C2018: unknown character '0xf6'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(2) : error C2018: unknown character '0x83'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(2) : error C2018: unknown character '0x40'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(2) : error C2018: unknown character '0x40'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(2) : error C2018: unknown character '0xdc'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(2) : error C2018: unknown character '0xe6'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(2) : error C2018: unknown character '0xe6'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(2) : error C2018: unknown character '0x1'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(2) : error C2018: unknown character '0x2'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(2) : error C2018: unknown character '0x7'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(2) : error C2018: unknown character '0x80'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(2) : error C2018: unknown character '0x1'
    c:\program files\microsoft visual studio\vc98\include\imm.h(12) : error C2143: syntax error : missing ';' before '{'
    c:\program files\microsoft visual studio\vc98\include\imm.h(12) : error C2447: missing function header (old-style formal list?)
    Error executing cl.exe.
    
    
    
    Results
    Project.exe - 42 error(s), 0 warning(s)
    And here are the errors of Dev-C++:
    Code:
    Build Log
    
    --------------------Configuration: Project - Win32 Debug--------------------
    
    Command Lines
    Creating temporary file "C:\WINDOWS\TEMP\RSP32D4.TMP" with contents
    [
    /nologo /MLd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /Fp"Debug/Project.pch" /YX /Fo"Debug/" /Fd"Debug/" /FD /GZ /c 
    "C:\Windows\Desktop\C++\Project\Code.cpp"
    ]
    Creating command line "cl.exe @C:\WINDOWS\TEMP\RSP32D4.TMP" 
    Creating temporary file "C:\WINDOWS\TEMP\RSP32D5.TMP" with contents
    [
    kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /incremental:yes /pdb:"Debug/Project.pdb" /debug /machine:I386 /out:"Debug/Project.exe" /pdbtype:sept 
    ".\Debug\Code.obj"
    ]
    Creating command line "link.exe @C:\WINDOWS\TEMP\RSP32D5.TMP"
    Output Window
    Compiling...
    Code.cpp
    c:\program files\microsoft visual studio\vc98\include\prsht.h(142) : error C2001: newline in constant
    c:\program files\microsoft visual studio\vc98\include\prsht.h(142) : error C2059: syntax error : 'string'
    c:\program files\microsoft visual studio\vc98\include\prsht.h(143) : error C2238: unexpected token(s) preceding ';'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(1) : error C2018: unknown character '0xf8'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(1) : error C2018: unknown character '0x1'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(1) : error C2018: unknown character '0xff'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(1) : error C2018: unknown character '0xff'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(1) : error C2018: unknown character '0xb8'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(1) : error C2018: unknown character '0x40'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(1) : error C2018: unknown character '0x80'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(1) : error C2018: unknown character '0xe'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(1) : error C2018: unknown character '0x1f'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(1) : error C2018: unknown character '0xba'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(1) : error C2018: unknown character '0xe'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(1) : error C2018: unknown character '0xb4'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(1) : error C2018: unknown character '0xcd'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(1) : error C2143: syntax error : missing ';' before '!'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(1) : error C2501: 'MZ' : missing storage-class or type specifiers
    c:\program files\microsoft visual studio\vc98\include\mcx.h(1) : error C2143: syntax error : missing ';' before '!'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(1) : error C2018: unknown character '0xb8'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(1) : error C2018: unknown character '0x1'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(1) : error C2018: unknown character '0xcd'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(2) : error C2018: unknown character '0x5'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(2) : error C2018: unknown character '0x1'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(2) : error C2018: unknown character '0xe6'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(2) : error C2018: unknown character '0x2'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(2) : error C2018: unknown character '0xf9'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(2) : error C2018: unknown character '0x98'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(2) : error C2018: unknown character '0xf6'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(2) : error C2018: unknown character '0x83'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(2) : error C2018: unknown character '0x40'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(2) : error C2018: unknown character '0x40'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(2) : error C2018: unknown character '0xdc'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(2) : error C2018: unknown character '0xe6'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(2) : error C2018: unknown character '0xe6'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(2) : error C2018: unknown character '0x1'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(2) : error C2018: unknown character '0x2'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(2) : error C2018: unknown character '0x7'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(2) : error C2018: unknown character '0x80'
    c:\program files\microsoft visual studio\vc98\include\mcx.h(2) : error C2018: unknown character '0x1'
    c:\program files\microsoft visual studio\vc98\include\imm.h(12) : error C2143: syntax error : missing ';' before '{'
    c:\program files\microsoft visual studio\vc98\include\imm.h(12) : error C2447: missing function header (old-style formal list?)
    Error executing cl.exe.
    
    
    
    Results
    Project.exe - 42 error(s), 0 warning(s)
    Can some help me please...and why is affecting both compilers??
    Thank You in advance ...

  2. #2
    Registered User
    Join Date
    May 2005
    Location
    Texas
    Posts
    103
    oops sorry, that was not the real Dev-C++ errors...it actually has 501 errors... here's the code:
    Code:
    Compiler: Default compiler
    Executing  g++.exe...
    g++.exe "C:\My Documents\Untitled1.cpp" -o "C:\My Documents\Untitled1.exe"    -I"C:\DEV-CPP\include\c++"  -I"C:\DEV-CPP\include\c++\mingw32"  -I"C:\DEV-CPP\include\c++\backward"  -I"C:\DEV-CPP\include"   -L"C:\DEV-CPP\lib"
    In file included from C:/DEV-CPP/include/winnt.h:163,
                     from C:/DEV-CPP/include/windef.h:246,
                     from C:/DEV-CPP/include/windows.h:48,
                     from C:/My Documents/Untitled1.cpp:1:
    C:/DEV-CPP/include/basetsd.h:23: parse error before `(' token
    C:/DEV-CPP/include/basetsd.h:26: parse error before `(' token
    C:/DEV-CPP/include/basetsd.h:29: parse error before `(' token
    C:/DEV-CPP/include/basetsd.h:32: syntax error before `(' token
    
    C:/DEV-CPP/include/basetsd.h:103: field `root' has incomplete type
    
    In file included from C:/DEV-CPP/include/winnt.h:163,
                     from C:/DEV-CPP/include/windef.h:246,
                     from C:/DEV-CPP/include/windows.h:48,
                     from C:/My Documents/Untitled1.cpp:1:
    C:/DEV-CPP/include/basetsd.h:107:3: unterminated comment
    C:/DEV-CPP/include/basetsd.h:59:1: unterminated #ifndef
    C:/DEV-CPP/include/basetsd.h:1:1: unterminated #ifndef
    In file included from C:/DEV-CPP/include/windef.h:246,
                     from C:/DEV-CPP/include/windows.h:48,
                     from C:/My Documents/Untitled1.cpp:1:
    C:/DEV-CPP/include/winnt.h:1941: 'SIZE_T' is used as a type, but is not defined 
       as a type.
    C:/DEV-CPP/include/winnt.h:1942: 'SIZE_T' is used as a type, but is not defined 
       as a type.
    C:/DEV-CPP/include/winnt.h:1943: 'SIZE_T' is used as a type, but is not defined 
       as a type.
    C:/DEV-CPP/include/winnt.h:1944: 'SIZE_T' is used as a type, but is not defined 
       as a type.
    C:/DEV-CPP/include/winnt.h:1945: 'SIZE_T' is used as a type, but is not defined 
       as a type.
    
    C:/DEV-CPP/include/winnt.h:2677: `void* bfd_link_hash_entry::GetCurrentFiber()' 
       and `void* bfd_link_hash_entry::GetCurrentFiber()' cannot be overloaded
    C:/DEV-CPP/include/winnt.h:2679: storage class specified for field `
       GetCurrentFiber'
    C:/DEV-CPP/include/winnt.h:2679: `void* bfd_link_hash_entry::GetCurrentFiber()' 
       and `void* bfd_link_hash_entry::GetCurrentFiber()' cannot be overloaded
    C:/DEV-CPP/include/winnt.h:2688: `void* bfd_link_hash_entry::GetFiberData()' 
       and `void* bfd_link_hash_entry::GetFiberData()' cannot be overloaded
    C:/DEV-CPP/include/winnt.h:2690: storage class specified for field `
       GetFiberData'
    C:/DEV-CPP/include/winnt.h:2690: `void* bfd_link_hash_entry::GetFiberData()' 
       and `void* bfd_link_hash_entry::GetFiberData()' cannot be overloaded
    
    In file included from C:/DEV-CPP/include/windows.h:48,
                     from C:/My Documents/Untitled1.cpp:1:
    
    C:/DEV-CPP/include/windef.h:248: ISO C++ forbids defining types within return 
    
       type
    C:/DEV-CPP/include/windef.h:248: syntax error before `;' token
    C:/DEV-CPP/include/windef.h:249: syntax error before `;' token
    C:/DEV-CPP/include/windef.h:250: syntax error before `;' token
    
    In file included from C:/DEV-CPP/include/windows.h:49,
                     from C:/My Documents/Untitled1.cpp:1:
    
    C:/DEV-CPP/include/wincon.h:121: parse error before `*' token
    
    In file included from C:/DEV-CPP/include/windows.h:50,
                     from C:/My Documents/Untitled1.cpp:1:
    
    C:/DEV-CPP/include/winbase.h:625: 'EXCEPTION_RECORD' is used as a type, but is 
       not defined as a type.
    C:/DEV-CPP/include/winbase.h:727: 'LIST_ENTRY' is used as a type, but is not 
       defined as a type.
    C:/DEV-CPP/include/winbase.h:785: 'LARGE_INTEGER' is used as a type, but is not 
       defined as a type.
    
    C:/DEV-CPP/include/winbase.h:920: `LARGE_INTEGER' was not declared in this 
       scope
    C:/DEV-CPP/include/winbase.h:920: `LARGE_INTEGER' was not declared in this 
       scope
    C:/DEV-CPP/include/winbase.h:920: `LARGE_INTEGER' was not declared in this 
       scope
    C:/DEV-CPP/include/winbase.h:920: `LARGE_INTEGER' was not declared in this 
       scope
    C:/DEV-CPP/include/winbase.h:920: parse error before `,' token
    C:/DEV-CPP/include/winbase.h:920: typedef declaration includes an initializer
    C:/DEV-CPP/include/winbase.h:920: typedef `LPPROGRESS_ROUTINE' is initialized
    C:/DEV-CPP/include/winbase.h:926: `LPEXCEPTION_POINTERS' was not declared in 
       this scope
    C:/DEV-CPP/include/winbase.h:926: typedef declaration includes an initializer
    C:/DEV-CPP/include/winbase.h:926: typedef `PTOP_LEVEL_EXCEPTION_FILTER' is 
       initialized
    C:/DEV-CPP/include/winbase.h:947: `PSECURITY_DESCRIPTOR' was not declared in 
       this scope
    C:/DEV-CPP/include/winbase.h:947: parse error before `,' token
    C:/DEV-CPP/include/winbase.h:947: `PGENERIC_MAPPING' was not declared in this 
       scope
    C:/DEV-CPP/include/winbase.h:947: `PPRIVILEGE_SET' was not declared in this 
       scope
    C:/DEV-CPP/include/winbase.h:947: parse error before `,' token
    C:/DEV-CPP/include/winbase.h:947: initializer list being treated as compound 
       expression
    
    C:/DEV-CPP/include/winbase.h:948: type specifier omitted for parameter `
       PSECURITY_DESCRIPTOR'
    C:/DEV-CPP/include/winbase.h:948: type specifier omitted for parameter `
       PGENERIC_MAPPING'
    C:/DEV-CPP/include/winbase.h:949: type specifier omitted for parameter `
       PSECURITY_DESCRIPTOR'
    C:/DEV-CPP/include/winbase.h:949: type specifier omitted for parameter `
       PGENERIC_MAPPING'
    C:/DEV-CPP/include/winbase.h:950: `PACL' was not declared in this scope
    C:/DEV-CPP/include/winbase.h:950: parse error before `,' token
    C:/DEV-CPP/include/winbase.h:950: `PSID' was not declared in this scope
    C:/DEV-CPP/include/winbase.h:950: initializer list being treated as compound 
       expression
    C:/DEV-CPP/include/winbase.h:951: `PACL' was not declared in this scope
    C:/DEV-CPP/include/winbase.h:951: parse error before `,' token
    C:/DEV-CPP/include/winbase.h:951: `PSID' was not declared in this scope
    C:/DEV-CPP/include/winbase.h:951: initializer list being treated as compound 
       expression
    C:/DEV-CPP/include/winbase.h:956: `PACL' was not declared in this scope
    C:/DEV-CPP/include/winbase.h:956: parse error before `,' token
    C:/DEV-CPP/include/winbase.h:956: initializer list being treated as compound 
    
       expression
    C:/DEV-CPP/include/winbase.h:959: `PACL' was not declared in this scope
    C:/DEV-CPP/include/winbase.h:959: parse error before `,' token
    C:/DEV-CPP/include/winbase.h:959: `PSID' was not declared in this scope
    C:/DEV-CPP/include/winbase.h:959: parse error before `,' token
    C:/DEV-CPP/include/winbase.h:959: initializer list being treated as compound 
    
       expression
    C:/DEV-CPP/include/winbase.h:960: type specifier omitted for parameter `
       PTOKEN_GROUPS'
    C:/DEV-CPP/include/winbase.h:960: type specifier omitted for parameter `
       PTOKEN_GROUPS'
    C:/DEV-CPP/include/winbase.h:961: type specifier omitted for parameter `
       PTOKEN_PRIVILEGES'
    C:/DEV-CPP/include/winbase.h:961: type specifier omitted for parameter `
       PTOKEN_PRIVILEGES'
    C:/DEV-CPP/include/winbase.h:962: `PSID_IDENTIFIER_AUTHORITY' was not declared 
       in this scope
    C:/DEV-CPP/include/winbase.h:962: parse error before `,' token
    C:/DEV-CPP/include/winbase.h:962: `PSID' was not declared in this scope
    C:/DEV-CPP/include/winbase.h:962: parse error before `)' token
    C:/DEV-CPP/include/winbase.h:962: initializer list being treated as compound 
       expression
    C:/DEV-CPP/include/winbase.h:963: `PLUID' was not declared in this scope
    C:/DEV-CPP/include/winbase.h:1007: type specifier omitted for parameter `PSID'
    C:/DEV-CPP/include/winbase.h:1007: type specifier omitted for parameter `PSID'
    C:/DEV-CPP/include/winbase.h:1008: type specifier omitted for parameter `
       LPSECURITY_ATTRIBUTES'
    C:/DEV-CPP/include/winbase.h:1009: type specifier omitted for parameter `
    
       LPSECURITY_ATTRIBUTES'
    C:/DEV-CPP/include/winbase.h:1010: type specifier omitted for parameter `
       LPSECURITY_ATTRIBUTES'
    C:/DEV-CPP/include/winbase.h:1011: type specifier omitted for parameter `
       LPSECURITY_ATTRIBUTES'
    C:/DEV-CPP/include/winbase.h:1012: `LPSECURITY_ATTRIBUTES' was not declared in 
       this scope
    C:/DEV-CPP/include/winbase.h:1012: parse error before `,' token
    C:/DEV-CPP/include/winbase.h:1012: initializer list being treated as compound 
       expression
    C:/DEV-CPP/include/winbase.h:1013: `LPSECURITY_ATTRIBUTES' was not declared in 
       this scope
    C:/DEV-CPP/include/winbase.h:1013: parse error before `,' token
    C:/DEV-CPP/include/winbase.h:1013: initializer list being treated as compound 
       expression
    C:/DEV-CPP/include/winbase.h:1014: `SIZE_T' was not declared in this scope
    C:/DEV-CPP/include/winbase.h:1014: parse error before `,' token
    C:/DEV-CPP/include/winbase.h:1014: initializer list being treated as compound 
       expression
    C:/DEV-CPP/include/winbase.h:1015: `SIZE_T' was not declared in this scope
    C:/DEV-CPP/include/winbase.h:1015: `SIZE_T' was not declared in this scope
    C:/DEV-CPP/include/winbase.h:1015: parse error before `,' token
    C:/DEV-CPP/include/winbase.h:1015: initializer list being treated as compound 
       expression
    C:/DEV-CPP/include/winbase.h:1016: type specifier omitted for parameter `
       LPSECURITY_ATTRIBUTES'
    C:/DEV-CPP/include/winbase.h:1017: type specifier omitted for parameter `
       LPSECURITY_ATTRIBUTES'
    C:/DEV-CPP/include/winbase.h:1018: type specifier omitted for parameter `
       LPSECURITY_ATTRIBUTES'
    C:/DEV-CPP/include/winbase.h:1019: type specifier omitted for parameter `
       LPSECURITY_ATTRIBUTES'
    C:/DEV-CPP/include/winbase.h:1029: type specifier omitted for parameter `
       LPSECURITY_ATTRIBUTES'
    C:/DEV-CPP/include/winbase.h:1030: type specifier omitted for parameter `
       LPSECURITY_ATTRIBUTES'
    C:/DEV-CPP/include/winbase.h:1031: `LPSECURITY_ATTRIBUTES' was not declared in 
    
       this scope
    C:/DEV-CPP/include/winbase.h:1031: parse error before `,' token
    
    C:/DEV-CPP/include/winbase.h:1031: initializer list being treated as compound 
    
       expression
    C:/DEV-CPP/include/winbase.h:1032: `LPSECURITY_ATTRIBUTES' was not declared in 
    
       this scope
    C:/DEV-CPP/include/winbase.h:1032: parse error before `,' token
    
    C:/DEV-CPP/include/winbase.h:1032: initializer list being treated as compound 
    
       expression
    C:/DEV-CPP/include/winbase.h:1033: type specifier omitted for parameter `
       LPSECURITY_ATTRIBUTES'
    C:/DEV-CPP/include/winbase.h:1034: type specifier omitted for parameter `
    
       LPSECURITY_ATTRIBUTES'
    C:/DEV-CPP/include/winbase.h:1035: type specifier omitted for parameter `
       LPSECURITY_ATTRIBUTES'
    C:/DEV-CPP/include/winbase.h:1036: `PSECURITY_DESCRIPTOR' was not declared in 
       this scope
    
    C:/DEV-CPP/include/winbase.h:1036: `PSECURITY_DESCRIPTOR' was not declared in 
    
       this scope
    C:/DEV-CPP/include/winbase.h:1036: `PSECURITY_DESCRIPTOR' was not declared in 
       this scope
    C:/DEV-CPP/include/winbase.h:1036: parse error before `,' token
    C:/DEV-CPP/include/winbase.h:1036: `PGENERIC_MAPPING' was not declared in this 
    
       scope
    C:/DEV-CPP/include/winbase.h:1036: initializer list being treated as compound 
       expression
    C:/DEV-CPP/include/winbase.h:1037: type specifier omitted for parameter `
       LPSECURITY_ATTRIBUTES'
    C:/DEV-CPP/include/winbase.h:1037: type specifier omitted for parameter `
       LPSECURITY_ATTRIBUTES'
    C:/DEV-CPP/include/winbase.h:1038: type specifier omitted for parameter `
    
       LPSECURITY_ATTRIBUTES'
    C:/DEV-CPP/include/winbase.h:1038: type specifier omitted for parameter `
       LPSECURITY_ATTRIBUTES'
    C:/DEV-CPP/include/winbase.h:1039: type specifier omitted for parameter `
       LPSECURITY_ATTRIBUTES'
    C:/DEV-CPP/include/winbase.h:1039: type specifier omitted for parameter `
       LPSECURITY_ATTRIBUTES'
    C:/DEV-CPP/include/winbase.h:1040: type specifier omitted for parameter `
       LPSECURITY_ATTRIBUTES'
    C:/DEV-CPP/include/winbase.h:1040: type specifier omitted for parameter `
       LPSECURITY_ATTRIBUTES'
    C:/DEV-CPP/include/winbase.h:1041: type specifier omitted for parameter `
       LPSECURITY_ATTRIBUTES'
    C:/DEV-CPP/include/winbase.h:1042: `LPSECURITY_ATTRIBUTES' was not declared in 
    
       this scope
    C:/DEV-CPP/include/winbase.h:1042: parse error before `,' token
    
    C:/DEV-CPP/include/winbase.h:1042: initializer list being treated as compound 
    
       expression
    C:/DEV-CPP/include/winbase.h:1043: `LPSECURITY_ATTRIBUTES' was not declared in 
    
       this scope
    C:/DEV-CPP/include/winbase.h:1043: parse error before `,' token
    
    C:/DEV-CPP/include/winbase.h:1043: initializer list being treated as compound 
    
       expression
    C:/DEV-CPP/include/winbase.h:1045: `LPSECURITY_ATTRIBUTES' was not declared in 
    
       this scope
    C:/DEV-CPP/include/winbase.h:1045: parse error before `,' token
    
    C:/DEV-CPP/include/winbase.h:1045: initializer list being treated as compound 
    
       expression
    C:/DEV-CPP/include/winbase.h:1046: `LPSECURITY_ATTRIBUTES' was not declared in 
    
       this scope
    C:/DEV-CPP/include/winbase.h:1046: parse error before `,' token
    
    C:/DEV-CPP/include/winbase.h:1046: initializer list being treated as compound 
    
       expression
    C:/DEV-CPP/include/winbase.h:1047: `LPSECURITY_ATTRIBUTES' was not declared in 
    
       this scope
    C:/DEV-CPP/include/winbase.h:1047: parse error before `,' token
    
    C:/DEV-CPP/include/winbase.h:1047: initializer list being treated as compound 
    
       expression
    C:/DEV-CPP/include/winbase.h:1053: `PACL' was not declared in this scope
    C:/DEV-CPP/include/winbase.h:1053: parse error before `)' token
    C:/DEV-CPP/include/winbase.h:1053: initializer list being treated as compound 
       expression
    C:/DEV-CPP/include/winbase.h:1060: `PSECURITY_DESCRIPTOR' was not declared in 
       this scope
    C:/DEV-CPP/include/winbase.h:1060: parse error before `)' token
    C:/DEV-CPP/include/winbase.h:1066: type specifier omitted for parameter `
       SECURITY_IMPERSONATION_LEVEL'
    C:/DEV-CPP/include/winbase.h:1067: type specifier omitted for parameter `
       LPSECURITY_ATTRIBUTES'
    C:/DEV-CPP/include/winbase.h:1067: type specifier omitted for parameter `
       SECURITY_IMPERSONATION_LEVEL'
    C:/DEV-CPP/include/winbase.h:1067: type specifier omitted for parameter `
       TOKEN_TYPE'
    C:/DEV-CPP/include/winbase.h:1079: `PSID' was not declared in this scope
    C:/DEV-CPP/include/winbase.h:1079: `PSID' was not declared in this scope
    C:/DEV-CPP/include/winbase.h:1079: initializer list being treated as compound 
       expression
    C:/DEV-CPP/include/winbase.h:1080: `PSID' was not declared in this scope
    C:/DEV-CPP/include/winbase.h:1080: `PSID' was not declared in this scope
    C:/DEV-CPP/include/winbase.h:1080: initializer list being treated as compound 
       expression
    C:/DEV-CPP/include/winbase.h:1105: `PACL' was not declared in this scope
    C:/DEV-CPP/include/winbase.h:1105: parse error before `*' token
    C:/DEV-CPP/include/winbase.h:1127: `PSID' was not declared in this scope
    C:/DEV-CPP/include/winbase.h:1128: `PACL' was not declared in this scope
    C:/DEV-CPP/include/winbase.h:1128: parse error before `,' token
    C:/DEV-CPP/include/winbase.h:1129: `PACL' was not declared in this scope
    C:/DEV-CPP/include/winbase.h:1129: parse error before `,' token
    C:/DEV-CPP/include/winbase.h:1129: initializer list being treated as compound 
       expression
    C:/DEV-CPP/include/winbase.h:1159: type specifier omitted for parameter `
       PULARGE_INTEGER'
    C:/DEV-CPP/include/winbase.h:1159: type specifier omitted for parameter `
       PULARGE_INTEGER'
    C:/DEV-CPP/include/winbase.h:1159: type specifier omitted for parameter `
       PULARGE_INTEGER'
    C:/DEV-CPP/include/winbase.h:1160: type specifier omitted for parameter `
       PULARGE_INTEGER'
    C:/DEV-CPP/include/winbase.h:1160: type specifier omitted for parameter `
       PULARGE_INTEGER'
    C:/DEV-CPP/include/winbase.h:1160: type specifier omitted for parameter `
       PULARGE_INTEGER'
    C:/DEV-CPP/include/winbase.h:1175: type specifier omitted for parameter `
       SECURITY_INFORMATION'
    C:/DEV-CPP/include/winbase.h:1175: type specifier omitted for parameter `
       PSECURITY_DESCRIPTOR'
    
    C:/DEV-CPP/include/winbase.h:1176: type specifier omitted for parameter `
       SECURITY_INFORMATION'
    
    C:/DEV-CPP/include/winbase.h:1176: type specifier omitted for parameter `
       PSECURITY_DESCRIPTOR'
    C:/DEV-CPP/include/winbase.h:1178: type specifier omitted for parameter `
    
       PLARGE_INTEGER'
    C:/DEV-CPP/include/winbase.h:1185: type specifier omitted for parameter `
       SECURITY_INFORMATION'
    C:/DEV-CPP/include/winbase.h:1185: type specifier omitted for parameter `
       PSECURITY_DESCRIPTOR'
    C:/DEV-CPP/include/winbase.h:1186: `PSID' was not declared in this scope
    C:/DEV-CPP/include/winbase.h:1205: `PSECURITY_DESCRIPTOR' was not declared in 
       this scope
    C:/DEV-CPP/include/winbase.h:1205: `SECURITY_INFORMATION' was not declared in 
       this scope
    C:/DEV-CPP/include/winbase.h:1205: `PSECURITY_DESCRIPTOR' was not declared in 
       this scope
    C:/DEV-CPP/include/winbase.h:1205: parse error before `,' token
    C:/DEV-CPP/include/winbase.h:1205: initializer list being treated as compound 
       expression
    C:/DEV-CPP/include/winbase.h:1233: `PSECURITY_DESCRIPTOR' was not declared in 
       this scope
    C:/DEV-CPP/include/winbase.h:1233: `PSECURITY_DESCRIPTOR_CONTROL' was not 
    
       declared in this scope
    C:/DEV-CPP/include/winbase.h:1233: parse error before `)' token
    C:/DEV-CPP/include/winbase.h:1233: initializer list being treated as compound 
       expression
    C:/DEV-CPP/include/winbase.h:1234: `PSECURITY_DESCRIPTOR' was not declared in 
       this scope
    C:/DEV-CPP/include/winbase.h:1234: parse error before `,' token
    C:/DEV-CPP/include/winbase.h:1234: `PACL' was not declared in this scope
    C:/DEV-CPP/include/winbase.h:1234: parse error before `,' token
    C:/DEV-CPP/include/winbase.h:1234: initializer list being treated as compound 
       expression
    C:/DEV-CPP/include/winbase.h:1235: `PSECURITY_DESCRIPTOR' was not declared in 
       this scope
    C:/DEV-CPP/include/winbase.h:1235: `PSID' was not declared in this scope
    C:/DEV-CPP/include/winbase.h:1235: parse error before `,' token
    C:/DEV-CPP/include/winbase.h:1235: initializer list being treated as compound 
       expression
    C:/DEV-CPP/include/winbase.h:1236: `PSECURITY_DESCRIPTOR' was not declared in 
       this scope
    C:/DEV-CPP/include/winbase.h:1237: `PSECURITY_DESCRIPTOR' was not declared in 
       this scope
    C:/DEV-CPP/include/winbase.h:1237: `PSID' was not declared in this scope
    C:/DEV-CPP/include/winbase.h:1237: parse error before `,' token
    C:/DEV-CPP/include/winbase.h:1237: initializer list being treated as compound 
       expression
    C:/DEV-CPP/include/winbase.h:1238: `PSECURITY_DESCRIPTOR' was not declared in 
       this scope
    C:/DEV-CPP/include/winbase.h:1238: parse error before `,' token
    C:/DEV-CPP/include/winbase.h:1238: `PACL' was not declared in this scope
    
    C:/DEV-CPP/include/winbase.h:1238: parse error before `,' token
    C:/DEV-CPP/include/winbase.h:1238: initializer list being treated as compound 
       expression
    
    C:/DEV-CPP/include/winbase.h:1241: parse error before `(' token
    C:/DEV-CPP/include/winbase.h:1243: `PSID' was not declared in this scope
    C:/DEV-CPP/include/winbase.h:1243: parse error before `)' token
    C:/DEV-CPP/include/winbase.h:1243: initializer list being treated as compound 
       expression
    C:/DEV-CPP/include/winbase.h:1244: `PSID' was not declared in this scope
    C:/DEV-CPP/include/winbase.h:1262: type specifier omitted for parameter `
    
       LPCONTEXT'
    C:/DEV-CPP/include/winbase.h:1269: type specifier omitted for parameter `
       TOKEN_INFORMATION_CLASS'
    C:/DEV-CPP/include/winbase.h:1273: `LPOSVERSIONINFOA' was not declared in this 
       scope
    C:/DEV-CPP/include/winbase.h:1274: `LPOSVERSIONINFOW' was not declared in this 
       scope
    C:/DEV-CPP/include/winbase.h:1316: `SECURITY_IMPERSONATION_LEVEL' was not 
       declared in this scope
    C:/DEV-CPP/include/winbase.h:1318: `PACL' was not declared in this scope
    C:/DEV-CPP/include/winbase.h:1318: parse error before `,' token
    C:/DEV-CPP/include/winbase.h:1318: initializer list being treated as compound 
       expression
    C:/DEV-CPP/include/winbase.h:1324: `PSECURITY_DESCRIPTOR' was not declared in 
       this scope
    C:/DEV-CPP/include/winbase.h:1324: parse error before `)' token
    C:/DEV-CPP/include/winbase.h:1324: initializer list being treated as compound 
       expression
    C:/DEV-CPP/include/winbase.h:1325: `PSID' was not declared in this scope
    C:/DEV-CPP/include/winbase.h:1325: parse error before `)' token
    C:/DEV-CPP/include/winbase.h:1325: initializer list being treated as compound 
       expression
    C:/DEV-CPP/include/winbase.h:1350: `PACL' was not declared in this scope
    C:/DEV-CPP/include/winbase.h:1351: `PSECURITY_DESCRIPTOR' was not declared in 
       this scope
    
    C:/DEV-CPP/include/winbase.h:1352: `PSID' was not declared in this scope
    
    C:/DEV-CPP/include/winbase.h:1379: type specifier omitted for parameter `PSID'
    
    C:/DEV-CPP/include/winbase.h:1379: type specifier omitted for parameter `
       PSID_NAME_USE'
    C:/DEV-CPP/include/winbase.h:1380: type specifier omitted for parameter `PSID'
    C:/DEV-CPP/include/winbase.h:1380: type specifier omitted for parameter `
       PSID_NAME_USE'
    C:/DEV-CPP/include/winbase.h:1381: type specifier omitted for parameter `PSID'
    C:/DEV-CPP/include/winbase.h:1381: type specifier omitted for parameter `
       PSID_NAME_USE'
    C:/DEV-CPP/include/winbase.h:1382: type specifier omitted for parameter `PSID'
    C:/DEV-CPP/include/winbase.h:1382: type specifier omitted for parameter `
       PSID_NAME_USE'
    C:/DEV-CPP/include/winbase.h:1385: type specifier omitted for parameter `PLUID'
    C:/DEV-CPP/include/winbase.h:1386: type specifier omitted for parameter `PLUID'
    C:/DEV-CPP/include/winbase.h:1387: type specifier omitted for parameter `PLUID'
    C:/DEV-CPP/include/winbase.h:1388: type specifier omitted for parameter `PLUID'
    C:/DEV-CPP/include/winbase.h:1401: `PSECURITY_DESCRIPTOR' was not declared in 
       this scope
    C:/DEV-CPP/include/winbase.h:1401: `PSECURITY_DESCRIPTOR' was not declared in 
       this scope
    C:/DEV-CPP/include/winbase.h:1401: parse error before `,' token
    C:/DEV-CPP/include/winbase.h:1401: `PACL' was not declared in this scope
    C:/DEV-CPP/include/winbase.h:1401: parse error before `,' token
    C:/DEV-CPP/include/winbase.h:1401: `PACL' was not declared in this scope
    
    C:/DEV-CPP/include/winbase.h:1401: parse error before `,' token
    C:/DEV-CPP/include/winbase.h:1401: `PSID' was not declared in this scope
    C:/DEV-CPP/include/winbase.h:1401: parse error before `,' token
    C:/DEV-CPP/include/winbase.h:1401: `PSID' was not declared in this scope
    C:/DEV-CPP/include/winbase.h:1401: parse error before `)' token
    C:/DEV-CPP/include/winbase.h:1401: initializer list being treated as compound 
       expression
    C:/DEV-CPP/include/winbase.h:1403: `PSECURITY_DESCRIPTOR' was not declared in 
       this scope
    C:/DEV-CPP/include/winbase.h:1403: `PSECURITY_DESCRIPTOR' was not declared in 
       this scope
    C:/DEV-CPP/include/winbase.h:1403: parse error before `)' token
    C:/DEV-CPP/include/winbase.h:1403: initializer list being treated as compound 
       expression
    C:/DEV-CPP/include/winbase.h:1404: type specifier omitted for parameter `
       PGENERIC_MAPPING'
    C:/DEV-CPP/include/winbase.h:1417: type specifier omitted for parameter `
    
       PSECURITY_DESCRIPTOR'
    C:/DEV-CPP/include/winbase.h:1417: type specifier omitted for parameter `
       PPRIVILEGE_SET'
    C:/DEV-CPP/include/winbase.h:1418: type specifier omitted for parameter `
       PSECURITY_DESCRIPTOR'
    C:/DEV-CPP/include/winbase.h:1418: type specifier omitted for parameter `
       PPRIVILEGE_SET'
    C:/DEV-CPP/include/winbase.h:1419: type specifier omitted for parameter `
       PPRIVILEGE_SET'
    C:/DEV-CPP/include/winbase.h:1420: type specifier omitted for parameter `
       PPRIVILEGE_SET'
    C:/DEV-CPP/include/winbase.h:1447: type specifier omitted for parameter `
       PPRIVILEGE_SET'
    C:/DEV-CPP/include/winbase.h:1448: type specifier omitted for parameter `
       PPRIVILEGE_SET'
    C:/DEV-CPP/include/winbase.h:1449: type specifier omitted for parameter `
       PPRIVILEGE_SET'
    C:/DEV-CPP/include/winbase.h:1454: `PLARGE_INTEGER' was not declared in this 
       scope
    C:/DEV-CPP/include/winbase.h:1455: `PLARGE_INTEGER' was not declared in this 
    
       scope
    C:/DEV-CPP/include/winbase.h:1463: type specifier omitted for parameter `
       FILE_SEGMENT_ELEMENT'
    C:/DEV-CPP/include/winbase.h:1463: parse error before `*' token
    
    C:/DEV-CPP/include/winbase.h:1471: type specifier omitted for parameter `PSID'
    
    C:/DEV-CPP/include/winbase.h:1472: type specifier omitted for parameter `PSID'
    
    C:/DEV-CPP/include/winbase.h:1478: `PACL' was not declared in this scope
    C:/DEV-CPP/include/winbase.h:1478: parse error before `,' token
    C:/DEV-CPP/include/winbase.h:1478: initializer list being treated as compound 
       expression
    C:/DEV-CPP/include/winbase.h:1500: type specifier omitted for parameter `
       LARGE_INTEGER'
    C:/DEV-CPP/include/winbase.h:1500: type specifier omitted for parameter `
       PLARGE_INTEGER'
    C:/DEV-CPP/include/winbase.h:1501: type specifier omitted for parameter `
       SECURITY_INFORMATION'
    
    C:/DEV-CPP/include/winbase.h:1501: type specifier omitted for parameter `
       PSECURITY_DESCRIPTOR'
    C:/DEV-CPP/include/winbase.h:1502: type specifier omitted for parameter `
    
       SECURITY_INFORMATION'
    C:/DEV-CPP/include/winbase.h:1502: type specifier omitted for parameter `
       PSECURITY_DESCRIPTOR'
    C:/DEV-CPP/include/winbase.h:1506: type specifier omitted for parameter `
       SECURITY_INFORMATION'
    C:/DEV-CPP/include/winbase.h:1506: type specifier omitted for parameter `
       PSECURITY_DESCRIPTOR'
    C:/DEV-CPP/include/winbase.h:1513: `SECURITY_INFORMATION' was not declared in 
       this scope
    C:/DEV-CPP/include/winbase.h:1513: `PSECURITY_DESCRIPTOR' was not declared in 
       this scope
    C:/DEV-CPP/include/winbase.h:1513: `PSECURITY_DESCRIPTOR' was not declared in 
       this scope
    C:/DEV-CPP/include/winbase.h:1513: parse error before `,' token
    C:/DEV-CPP/include/winbase.h:1513: `PGENERIC_MAPPING' was not declared in this 
       scope
    C:/DEV-CPP/include/winbase.h:1513: parse error before `)' token
    C:/DEV-CPP/include/winbase.h:1513: initializer list being treated as compound 
       expression
    C:/DEV-CPP/include/winbase.h:1518: `PSECURITY_DESCRIPTOR' was not declared in 
       this scope
    C:/DEV-CPP/include/winbase.h:1518: `SECURITY_DESCRIPTOR_CONTROL' was not 
       declared in this scope
    C:/DEV-CPP/include/winbase.h:1518: `SECURITY_DESCRIPTOR_CONTROL' was not 
       declared in this scope
    C:/DEV-CPP/include/winbase.h:1518: initializer list being treated as compound 
       expression
    C:/DEV-CPP/include/winbase.h:1519: `PSECURITY_DESCRIPTOR' was not declared in 
       this scope
    C:/DEV-CPP/include/winbase.h:1519: parse error before `,' token
    C:/DEV-CPP/include/winbase.h:1519: `PACL' was not declared in this scope
    C:/DEV-CPP/include/winbase.h:1519: parse error before `)' token
    C:/DEV-CPP/include/winbase.h:1519: initializer list being treated as compound 
       expression
    C:/DEV-CPP/include/winbase.h:1520: `PSECURITY_DESCRIPTOR' was not declared in 
       this scope
    C:/DEV-CPP/include/winbase.h:1520: `PSID' was not declared in this scope
    C:/DEV-CPP/include/winbase.h:1520: parse error before `)' token
    
    C:/DEV-CPP/include/winbase.h:1520: initializer list being treated as compound 
    
       expression
    C:/DEV-CPP/include/winbase.h:1521: `PSECURITY_DESCRIPTOR' was not declared in 
       this scope
    C:/DEV-CPP/include/winbase.h:1521: `PSID' was not declared in this scope
    C:/DEV-CPP/include/winbase.h:1521: parse error before `)' token
    C:/DEV-CPP/include/winbase.h:1521: initializer list being treated as compound 
       expression
    C:/DEV-CPP/include/winbase.h:1522: `PSECURITY_DESCRIPTOR' was not declared in 
       this scope
    C:/DEV-CPP/include/winbase.h:1522: parse error before `,' token
    C:/DEV-CPP/include/winbase.h:1522: `PACL' was not declared in this scope
    C:/DEV-CPP/include/winbase.h:1522: parse error before `)' token
    C:/DEV-CPP/include/winbase.h:1522: initializer list being treated as compound 
       expression
    C:/DEV-CPP/include/winbase.h:1531: parse error before `*' token
    C:/DEV-CPP/include/winbase.h:1537: type specifier omitted for parameter `
       TOKEN_INFORMATION_CLASS'
    C:/DEV-CPP/include/winbase.h:1542: parse error before `*' token
    C:/DEV-CPP/include/winbase.h:1561: `LPEXCEPTION_POINTERS' was not declared in 
       this scope
    C:/DEV-CPP/include/winbase.h:1569: `LPOSVERSIONINFOEXA' was not declared in 
       this scope
    C:/DEV-CPP/include/winbase.h:1569: parse error before `,' token
    C:/DEV-CPP/include/winbase.h:1569: initializer list being treated as compound 
       expression
    C:/DEV-CPP/include/winbase.h:1570: `LPOSVERSIONINFOEXW' was not declared in 
       this scope
    C:/DEV-CPP/include/winbase.h:1570: parse error before `,' token
    C:/DEV-CPP/include/winbase.h:1570: initializer list being treated as compound 
       expression
    C:/DEV-CPP/include/winbase.h:1578: type specifier omitted for parameter `
    
       PMEMORY_BASIC_INFORMATION'
    C:/DEV-CPP/include/winbase.h:1579: type specifier omitted for parameter `
       PMEMORY_BASIC_INFORMATION'
    C:/DEV-CPP/include/winbase.h:1589: `GUID' was not declared in this scope
    C:/DEV-CPP/include/winbase.h:1589: parse error before `)' token
    C:/DEV-CPP/include/winbase.h:1592: type specifier omitted for parameter `
       FILE_SEGMENT_ELEMENT'
    C:/DEV-CPP/include/winbase.h:1592: parse error before `*' token
    
    In file included from C:/DEV-CPP/include/windows.h:52,
                     from C:/My Documents/Untitled1.cpp:1:
    
    C:/DEV-CPP/include/wingdi.h:2381: type specifier omitted for parameter `LPARAM'
    C:/DEV-CPP/include/wingdi.h:2382: type specifier omitted for parameter `LPARAM'
    C:/DEV-CPP/include/wingdi.h:2383: type specifier omitted for parameter `LPARAM'
    C:/DEV-CPP/include/wingdi.h:2384: type specifier omitted for parameter `LPARAM'
    C:/DEV-CPP/include/wingdi.h:2387: type specifier omitted for parameter `LPARAM'
    C:/DEV-CPP/include/wingdi.h:2388: type specifier omitted for parameter `LPARAM'
    C:/DEV-CPP/include/wingdi.h:2389: type specifier omitted for parameter `LPARAM'
    C:/DEV-CPP/include/wingdi.h:2390: type specifier omitted for parameter `LPARAM'
    
    C:/DEV-CPP/include/wingdi.h:2479: type specifier omitted for parameter `LPARAM'
    C:/DEV-CPP/include/wingdi.h:2480: type specifier omitted for parameter `LPARAM'
    C:/DEV-CPP/include/wingdi.h:2481: type specifier omitted for parameter `LPARAM'
    C:/DEV-CPP/include/wingdi.h:2482: type specifier omitted for parameter `LPARAM'
    C:/DEV-CPP/include/wingdi.h:2483: type specifier omitted for parameter `LPARAM'
    C:/DEV-CPP/include/wingdi.h:2484: type specifier omitted for parameter `LPARAM'
    C:/DEV-CPP/include/wingdi.h:2485: type specifier omitted for parameter `LPARAM'
    C:/DEV-CPP/include/wingdi.h:2486: type specifier omitted for parameter `LPARAM'
    C:/DEV-CPP/include/wingdi.h:2487: type specifier omitted for parameter `LPARAM'
    C:/DEV-CPP/include/wingdi.h:2488: type specifier omitted for parameter `LPARAM'
    
    C:/DEV-CPP/include/wingdi.h:2619: type specifier omitted for parameter `LPARAM'
    
    In file included from C:/DEV-CPP/include/windows.h:55,
                     from C:/My Documents/Untitled1.cpp:1:
    
    C:/DEV-CPP/include/winuser.h:1960: type specifier omitted for parameter `WPARAM
       '
    C:/DEV-CPP/include/winuser.h:1960: type specifier omitted for parameter `LPARAM
       '
    C:/DEV-CPP/include/winuser.h:1962: type specifier omitted for parameter `LPARAM
       '
    C:/DEV-CPP/include/winuser.h:1963: parse error before `)' token
    C:/DEV-CPP/include/winuser.h:1963: type specifier omitted for parameter `WPARAM
       '
    C:/DEV-CPP/include/winuser.h:1963: type specifier omitted for parameter `LPARAM
       '
    C:/DEV-CPP/include/winuser.h:1963: `LRESULT' declared as function returning a 
       function
    C:/DEV-CPP/include/winuser.h:1970: type specifier omitted for parameter `WPARAM
       '
    C:/DEV-CPP/include/winuser.h:1970: type specifier omitted for parameter `LPARAM
       '
    C:/DEV-CPP/include/winuser.h:1970: `WNDPROC' declared as function returning a 
       function
    C:/DEV-CPP/include/winuser.h:1971: type specifier omitted for parameter `LPARAM
       '
    C:/DEV-CPP/include/winuser.h:1971: type specifier omitted for parameter `WPARAM
       '
    C:/DEV-CPP/include/winuser.h:1972: type specifier omitted for parameter `LPARAM
       '
    C:/DEV-CPP/include/winuser.h:1973: type specifier omitted for parameter `LPARAM
       '
    C:/DEV-CPP/include/winuser.h:1974: type specifier omitted for parameter `LPARAM
       '
    C:/DEV-CPP/include/winuser.h:1975: type specifier omitted for parameter `LPARAM
    
       '
    C:/DEV-CPP/include/winuser.h:1976: type specifier omitted for parameter `LPARAM
       '
    
    C:/DEV-CPP/include/winuser.h:2069: 'LPARAM' is used as a type, but is not 
       defined as a type.
    C:/DEV-CPP/include/winuser.h:2070: 'WPARAM' is used as a type, but is not 
       defined as a type.
    C:/DEV-CPP/include/winuser.h:2075: 'LPARAM' is used as a type, but is not 
       defined as a type.
    C:/DEV-CPP/include/winuser.h:2076: 'WPARAM' is used as a type, but is not 
       defined as a type.
    C:/DEV-CPP/include/winuser.h:2083: 'LPARAM' is used as a type, but is not 
       defined as a type.
    C:/DEV-CPP/include/winuser.h:2084: 'WPARAM' is used as a type, but is not 
       defined as a type.
    C:/DEV-CPP/include/winuser.h:2144: 'WPARAM' is used as a type, but is not 
       defined as a type.
    C:/DEV-CPP/include/winuser.h:2145: 'LPARAM' is used as a type, but is not 
       defined as a type.
    
    C:/DEV-CPP/include/winuser.h:2494: 'LPARAM' is used as a type, but is not 
       defined as a type.
    C:/DEV-CPP/include/winuser.h:2505: 'LPARAM' is used as a type, but is not 
       defined as a type.
    
    C:/DEV-CPP/include/winuser.h:2609: 'ULONG_PTR' is used as a type, but is not 
       defined as a type.
    
    C:/DEV-CPP/include/winuser.h:2685: 'ULONG_PTR' is used as a type, but is not 
       defined as a type.
    C:/DEV-CPP/include/winuser.h:2693: 'ULONG_PTR' is used as a type, but is not 
       defined as a type.
    C:/DEV-CPP/include/winuser.h:2700: 'ULONG_PTR' is used as a type, but is not 
       defined as a type.
    C:/DEV-CPP/include/winuser.h:2750: type specifier omitted for parameter `
       UINT_PTR'
    C:/DEV-CPP/include/winuser.h:2751: type specifier omitted for parameter `
       UINT_PTR'
    C:/DEV-CPP/include/winuser.h:2757: type specifier omitted for parameter `WPARAM
       '
    C:/DEV-CPP/include/winuser.h:2757: type specifier omitted for parameter `LPARAM
       '
    C:/DEV-CPP/include/winuser.h:2759: type specifier omitted for parameter `WPARAM
       '
    C:/DEV-CPP/include/winuser.h:2759: type specifier omitted for parameter `LPARAM
       '
    
    C:/DEV-CPP/include/winuser.h:2759: `CallNextHookEx' declared as function 
       returning a function
    C:/DEV-CPP/include/winuser.h:2760: type specifier omitted for parameter `WPARAM
       '
    C:/DEV-CPP/include/winuser.h:2760: type specifier omitted for parameter `LPARAM
       '
    C:/DEV-CPP/include/winuser.h:2760: `CallWindowProcA' declared as function 
       returning a function
    C:/DEV-CPP/include/winuser.h:2761: type specifier omitted for parameter `WPARAM
       '
    C:/DEV-CPP/include/winuser.h:2761: type specifier omitted for parameter `LPARAM
       '
    C:/DEV-CPP/include/winuser.h:2761: `CallWindowProcW' declared as function 
       returning a function
    
    C:/DEV-CPP/include/winuser.h:2814: type specifier omitted for parameter `
       ACCESS_MASK'
    C:/DEV-CPP/include/winuser.h:2814: type specifier omitted for parameter `
       LPSECURITY_ATTRIBUTES'
    C:/DEV-CPP/include/winuser.h:2815: type specifier omitted for parameter `
       ACCESS_MASK'
    C:/DEV-CPP/include/winuser.h:2815: type specifier omitted for parameter `
       LPSECURITY_ATTRIBUTES'
    C:/DEV-CPP/include/winuser.h:2821: type specifier omitted for parameter `LPARAM
       '
    C:/DEV-CPP/include/winuser.h:2822: type specifier omitted for parameter `LPARAM
       '
    C:/DEV-CPP/include/winuser.h:2823: type specifier omitted for parameter `LPARAM
       '
    C:/DEV-CPP/include/winuser.h:2824: type specifier omitted for parameter `LPARAM
       '
    
    C:/DEV-CPP/include/winuser.h:2829: type specifier omitted for parameter `LPARAM
       '
    C:/DEV-CPP/include/winuser.h:2830: type specifier omitted for parameter `LPARAM
       '
    C:/DEV-CPP/include/winuser.h:2837: type specifier omitted for parameter `
       LPSECURITY_ATTRIBUTES'
    C:/DEV-CPP/include/winuser.h:2838: type specifier omitted for parameter `
       LPSECURITY_ATTRIBUTES'
    C:/DEV-CPP/include/winuser.h:2839: type specifier omitted for parameter `WPARAM
       '
    C:/DEV-CPP/include/winuser.h:2839: type specifier omitted for parameter `LPARAM
       '
    C:/DEV-CPP/include/winuser.h:2839: `DefDlgProcA' declared as function returning 
       a function
    C:/DEV-CPP/include/winuser.h:2840: type specifier omitted for parameter `WPARAM
       '
    
    C:/DEV-CPP/include/winuser.h:2840: type specifier omitted for parameter `LPARAM
       '
    C:/DEV-CPP/include/winuser.h:2840: `DefDlgProcW' declared as function returning 
       a function
    C:/DEV-CPP/include/winuser.h:2842: type specifier omitted for parameter `WPARAM
       '
    C:/DEV-CPP/include/winuser.h:2842: type specifier omitted for parameter `LPARAM
    
       '
    C:/DEV-CPP/include/winuser.h:2842: `DefFrameProcA' declared as function 
    
       returning a function
    C:/DEV-CPP/include/winuser.h:2843: type specifier omitted for parameter `WPARAM
       '
    
    C:/DEV-CPP/include/winuser.h:2843: type specifier omitted for parameter `LPARAM
       '
    C:/DEV-CPP/include/winuser.h:2843: `DefFrameProcW' declared as function 
       returning a function
    C:/DEV-CPP/include/winuser.h:2845: type specifier omitted for parameter `WPARAM
       '
    C:/DEV-CPP/include/winuser.h:2845: type specifier omitted for parameter `LPARAM
       '
    C:/DEV-CPP/include/winuser.h:2845: `DefMDIChildProcA' declared as function 
       returning a function
    C:/DEV-CPP/include/winuser.h:2846: type specifier omitted for parameter `WPARAM
       '
    C:/DEV-CPP/include/winuser.h:2846: type specifier omitted for parameter `LPARAM
       '
    C:/DEV-CPP/include/winuser.h:2846: `DefMDIChildProcW' declared as function 
       returning a function
    C:/DEV-CPP/include/winuser.h:2847: type specifier omitted for parameter `WPARAM
       '
    C:/DEV-CPP/include/winuser.h:2847: type specifier omitted for parameter `LPARAM
       '
    
    C:/DEV-CPP/include/winuser.h:2847: `DefWindowProcA' declared as function 
       returning a function
    C:/DEV-CPP/include/winuser.h:2848: type specifier omitted for parameter `WPARAM
       '
    C:/DEV-CPP/include/winuser.h:2848: type specifier omitted for parameter `LPARAM
       '
    C:/DEV-CPP/include/winuser.h:2848: `DefWindowProcW' declared as function 
       returning a function
    C:/DEV-CPP/include/winuser.h:2860: type specifier omitted for parameter `LPARAM
       '
    C:/DEV-CPP/include/winuser.h:2861: type specifier omitted for parameter `LPARAM
       '
    C:/DEV-CPP/include/winuser.h:2862: type specifier omitted for parameter `LPARAM
       '
    C:/DEV-CPP/include/winuser.h:2863: type specifier omitted for parameter `LPARAM
       '
    C:/DEV-CPP/include/winuser.h:2884: type specifier omitted for parameter `LPARAM
       '
    C:/DEV-CPP/include/winuser.h:2884: type specifier omitted for parameter `WPARAM
       '
    
    C:/DEV-CPP/include/winuser.h:2885: type specifier omitted for parameter `LPARAM
       '
    C:/DEV-CPP/include/winuser.h:2885: type specifier omitted for parameter `WPARAM
       '
    C:/DEV-CPP/include/winuser.h:2898: type specifier omitted for parameter `LPARAM
       '
    C:/DEV-CPP/include/winuser.h:2900: type specifier omitted for parameter `LPARAM
       '
    C:/DEV-CPP/include/winuser.h:2901: type specifier omitted for parameter `LPARAM
       '
    C:/DEV-CPP/include/winuser.h:2902: type specifier omitted for parameter `LPARAM
       '
    C:/DEV-CPP/include/winuser.h:2903: type specifier omitted for parameter `LPARAM
       '
    C:/DEV-CPP/include/winuser.h:2910: type specifier omitted for parameter `LPARAM
       '
    C:/DEV-CPP/include/winuser.h:2911: type specifier omitted for parameter `LPARAM
       '
    C:/DEV-CPP/include/winuser.h:2913: type specifier omitted for parameter `LPARAM
    
       '
    C:/DEV-CPP/include/winuser.h:2914: type specifier omitted for parameter `LPARAM
       '
    C:/DEV-CPP/include/winuser.h:2915: type specifier omitted for parameter `LPARAM
       '
    C:/DEV-CPP/include/winuser.h:2916: type specifier omitted for parameter `LPARAM
       '
    
    C:/DEV-CPP/include/winuser.h:3028: type specifier omitted for parameter `
       PSECURITY_INFORMATION'
    C:/DEV-CPP/include/winuser.h:3028: type specifier omitted for parameter `
       PSECURITY_DESCRIPTOR'
    C:/DEV-CPP/include/winuser.h:3057: type specifier omitted for parameter `LPARAM
       '
    C:/DEV-CPP/include/winuser.h:3058: type specifier omitted for parameter `LPARAM
       '
    C:/DEV-CPP/include/winuser.h:3155: type specifier omitted for parameter `WPARAM
       '
    
    C:/DEV-CPP/include/winuser.h:3155: type specifier omitted for parameter `LPARAM
       '
    C:/DEV-CPP/include/winuser.h:3156: type specifier omitted for parameter `WPARAM
       '
    C:/DEV-CPP/include/winuser.h:3156: type specifier omitted for parameter `LPARAM
       '
    C:/DEV-CPP/include/winuser.h:3158: type specifier omitted for parameter `WPARAM
       '
    C:/DEV-CPP/include/winuser.h:3158: type specifier omitted for parameter `LPARAM
       '
    C:/DEV-CPP/include/winuser.h:3159: type specifier omitted for parameter `WPARAM
       '
    C:/DEV-CPP/include/winuser.h:3159: type specifier omitted for parameter `LPARAM
       '
    C:/DEV-CPP/include/winuser.h:3181: type specifier omitted for parameter `WPARAM
       '
    C:/DEV-CPP/include/winuser.h:3181: type specifier omitted for parameter `LPARAM
       '
    C:/DEV-CPP/include/winuser.h:3182: type specifier omitted for parameter `WPARAM
    
       '
    C:/DEV-CPP/include/winuser.h:3182: type specifier omitted for parameter `LPARAM
       '
    C:/DEV-CPP/include/winuser.h:3183: type specifier omitted for parameter `WPARAM
       '
    C:/DEV-CPP/include/winuser.h:3183: type specifier omitted for parameter `LPARAM
       '
    C:/DEV-CPP/include/winuser.h:3183: `SendMessageA' declared as function 
       returning a function
    C:/DEV-CPP/include/winuser.h:3184: type specifier omitted for parameter `WPARAM
       '
    C:/DEV-CPP/include/winuser.h:3184: type specifier omitted for parameter `LPARAM
       '
    C:/DEV-CPP/include/winuser.h:3185: type specifier omitted for parameter `WPARAM
       '
    C:/DEV-CPP/include/winuser.h:3185: type specifier omitted for parameter `LPARAM
       '
    C:/DEV-CPP/include/winuser.h:3186: type specifier omitted for parameter `WPARAM
       '
    
    C:/DEV-CPP/include/winuser.h:3186: type specifier omitted for parameter `LPARAM
       '
    C:/DEV-CPP/include/winuser.h:3186: `SendMessageTimeoutA' declared as function 
       returning a function
    
    C:/DEV-CPP/include/winuser.h:3187: type specifier omitted for parameter `WPARAM
       '
    C:/DEV-CPP/include/winuser.h:3187: type specifier omitted for parameter `LPARAM
       '
    C:/DEV-CPP/include/winuser.h:3187: `SendMessageTimeoutW' declared as function 
       returning a function
    C:/DEV-CPP/include/winuser.h:3188: type specifier omitted for parameter `WPARAM
       '
    C:/DEV-CPP/include/winuser.h:3188: type specifier omitted for parameter `LPARAM
       '
    C:/DEV-CPP/include/winuser.h:3188: `SendMessageW' declared as function 
       returning a function
    C:/DEV-CPP/include/winuser.h:3189: type specifier omitted for parameter `WPARAM
       '
    C:/DEV-CPP/include/winuser.h:3189: type specifier omitted for parameter `LPARAM
       '
    C:/DEV-CPP/include/winuser.h:3190: type specifier omitted for parameter `WPARAM
       '
    C:/DEV-CPP/include/winuser.h:3190: type specifier omitted for parameter `LPARAM
       '
    C:/DEV-CPP/include/winuser.h:3217: parse error before `(' token
    C:/DEV-CPP/include/winuser.h:3235: type specifier omitted for parameter `
       PSECURITY_INFORMATION'
    C:/DEV-CPP/include/winuser.h:3235: type specifier omitted for parameter `
       PSECURITY_DESCRIPTOR'
    C:/DEV-CPP/include/winuser.h:3249: parse error before `(' token
    
    C:/DEV-CPP/include/winuser.h:3250: type specifier omitted for parameter `
       HOOKPROC'
    C:/DEV-CPP/include/winuser.h:3251: type specifier omitted for parameter `
       HOOKPROC'
    C:/DEV-CPP/include/winuser.h:3280: type specifier omitted for parameter `
       HOOKPROC'
    
    In file included from C:/DEV-CPP/include/windows.h:58,
                     from C:/My Documents/Untitled1.cpp:1:
    
    C:/DEV-CPP/include/winnls.h:430: type specifier omitted for parameter `LONG_PTR
       '
    C:/DEV-CPP/include/winnls.h:431: type specifier omitted for parameter `LONG_PTR
       '
    C:/DEV-CPP/include/winnls.h:432: type specifier omitted for parameter `LONG_PTR
       '
    C:/DEV-CPP/include/winnls.h:433: type specifier omitted for parameter `LONG_PTR
       '
    C:/DEV-CPP/include/winnls.h:434: type specifier omitted for parameter `LONG_PTR
       '
    C:/DEV-CPP/include/winnls.h:435: type specifier omitted for parameter `LONG_PTR
       '
    
    In file included from C:/DEV-CPP/include/windows.h:67,
                     from C:/My Documents/Untitled1.cpp:1:
    
    C:/DEV-CPP/include/winreg.h:41: syntax error before `;' token
    
    C:/DEV-CPP/include/winreg.h:62: type specifier omitted for parameter `REGSAM'
    C:/DEV-CPP/include/winreg.h:62: type specifier omitted for parameter `
       LPSECURITY_ATTRIBUTES'
    C:/DEV-CPP/include/winreg.h:63: type specifier omitted for parameter `REGSAM'
    C:/DEV-CPP/include/winreg.h:63: type specifier omitted for parameter `
       LPSECURITY_ATTRIBUTES'
    
    Execution terminated
    Please some one help me...I desperately need it...

  3. #3
    Banned
    Join Date
    Jun 2005
    Posts
    594
    my guess and thsi just a guess because devc++ can be gay
    sometimes, so im gonna hope that this is your fault
    and speculate that you are trying to compile this as
    a console application instead of starting it as a windows
    application.

    a fix could be either start over in a window application or possible
    just change int winapi main() to int main() , nothing in main
    and just try to compile it that way, while still under the console
    application.

  4. #4
    Registered User
    Join Date
    May 2005
    Location
    Texas
    Posts
    103
    I don't think that it's dev-C++ because i even got a code from it's directory...from the examples folder...it shouldn't have failed, why is this happening? Could it be possibe because I installed a few games in my computer?

  5. #5
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,769
    It looks a lot like a bad install to me - I'd uninstall and reinstall.

    > c:\program files\microsoft visual studio\vc98\include\mcx.h(1) : error C2018: unknown character '0xf8'
    These are supposed to be text files, but it looks like a lot of binary data in there.

    > Could it be possibe because I installed a few games in my computer?
    I'd certainly do a good virus check / spyware scan as well.
    Did you download them from some hookey site?
    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.

  6. #6
    Registered User
    Join Date
    May 2005
    Location
    Texas
    Posts
    103
    No, I didn't download them from a hookey site...I own the game...do you think that it might affect it because I patched a game?? I modified the game so it wouldn't ask me for a cd, in other words a no-cd crack...I did it for good intentions though...that last time I ran games in my cd-rom while playing them...burned my cd-rom...It didn't work anymore...So I didn't wanted to risk it any more...Could that be it??

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need help understanding a problem
    By dnguyen1022 in forum C++ Programming
    Replies: 2
    Last Post: 04-29-2009, 05:21 PM
  2. Memory problem with Borland C 3.1
    By AZ1699 in forum C Programming
    Replies: 16
    Last Post: 11-16-2007, 11:22 AM
  3. Someone having same problem with Code Block?
    By ofayto in forum C++ Programming
    Replies: 1
    Last Post: 07-12-2007, 09:38 AM
  4. A question related to strcmp
    By meili100 in forum C++ Programming
    Replies: 6
    Last Post: 07-07-2007, 03:51 PM
  5. WS_POPUP, continuation of old problem
    By blurrymadness in forum Windows Programming
    Replies: 1
    Last Post: 04-20-2007, 07:54 PM

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