Thread: Winbase.h Error

Results 1 to 9 of 9
  1. #1
    aLcohoL_95's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Location
    SatyRicon
    Posts
    685
    Reputation
    8
    Thanks
    291
    My Mood
    Cynical

    Winbase.h Error

    guys i compiled a win32 dll project
    i saved it
    i tried to compile it again
    but it gave this error :

    Code:
    1>------ Build started: Project: WR Pub, Configuration: Debug Win32 ------
    1>Compiling...
    1>mushroom.cpp
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winuser.h(1194) : error C2061: syntax error : identifier 'LPSECURITY_ATTRIBUTES'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winuser.h(1204) : error C2061: syntax error : identifier 'LPSECURITY_ATTRIBUTES'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winuser.h(1220) : error C2061: syntax error : identifier 'LPSECURITY_ATTRIBUTES'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winuser.h(1232) : error C2061: syntax error : identifier 'LPSECURITY_ATTRIBUTES'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winuser.h(1365) : error C2061: syntax error : identifier 'LPSECURITY_ATTRIBUTES'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winuser.h(1373) : error C2061: syntax error : identifier 'LPSECURITY_ATTRIBUTES'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1215) : error C2146: syntax error : missing ';' before identifier 'BOOL'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1215) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1221) : error C2146: syntax error : missing ';' before identifier 'UINT'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1221) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1221) : error C2086: 'int WINBASEAPI' : redefinition
    1>        c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1214) : see declaration of 'WINBASEAPI'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1226) : error C2146: syntax error : missing ';' before identifier 'UINT'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1226) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1226) : error C2086: 'int WINBASEAPI' : redefinition
    1>        c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1214) : see declaration of 'WINBASEAPI'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1231) : error C2146: syntax error : missing ';' before identifier 'BOOL'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1231) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1231) : error C2086: 'int WINBASEAPI' : redefinition
    1>        c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1214) : see declaration of 'WINBASEAPI'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1238) : error C2146: syntax error : missing ';' before identifier 'BOOL'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1238) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1238) : error C2086: 'int WINBASEAPI' : redefinition
    1>        c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1214) : see declaration of 'WINBASEAPI'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1245) : error C2146: syntax error : missing ';' before identifier 'BOOL'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1245) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1245) : error C2086: 'int WINBASEAPI' : redefinition
    1>        c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1214) : see declaration of 'WINBASEAPI'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1258) : error C2146: syntax error : missing ';' before identifier 'BOOL'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1258) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1258) : error C2086: 'int WINBASEAPI' : redefinition
    1>        c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1214) : see declaration of 'WINBASEAPI'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1264) : error C2146: syntax error : missing ';' before identifier 'BOOL'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1264) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1264) : error C2086: 'int WINBASEAPI' : redefinition
    1>        c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1214) : see declaration of 'WINBASEAPI'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1271) : error C2144: syntax error : 'int' should be preceded by ';'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1271) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1271) : error C2086: 'int WINBASEAPI' : redefinition
    1>        c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1214) : see declaration of 'WINBASEAPI'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1282) : error C2144: syntax error : 'int' should be preceded by ';'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1282) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1282) : error C2086: 'int WINBASEAPI' : redefinition
    1>        c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1214) : see declaration of 'WINBASEAPI'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1300) : error C2144: syntax error : 'int' should be preceded by ';'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1300) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1300) : error C2086: 'int WINBASEAPI' : redefinition
    1>        c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1214) : see declaration of 'WINBASEAPI'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1310) : error C2144: syntax error : 'int' should be preceded by ';'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1310) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1310) : error C2086: 'int WINBASEAPI' : redefinition
    1>        c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1214) : see declaration of 'WINBASEAPI'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1356) : error C2144: syntax error : 'int' should be preceded by ';'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1356) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1356) : error C2086: 'int WINBASEAPI' : redefinition
    1>        c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1214) : see declaration of 'WINBASEAPI'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1370) : error C2144: syntax error : 'int' should be preceded by ';'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1370) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1370) : error C2086: 'int WINBASEAPI' : redefinition
    1>        c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1214) : see declaration of 'WINBASEAPI'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1380) : error C2144: syntax error : 'int' should be preceded by ';'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1380) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1380) : error C2086: 'int WINBASEAPI' : redefinition
    1>        c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1214) : see declaration of 'WINBASEAPI'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1396) : error C2144: syntax error : 'int' should be preceded by ';'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1396) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1396) : error C2086: 'int WINBASEAPI' : redefinition
    1>        c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1214) : see declaration of 'WINBASEAPI'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1404) : error C2144: syntax error : 'int' should be preceded by ';'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1404) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1404) : error C2086: 'int WINBASEAPI' : redefinition
    1>        c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1214) : see declaration of 'WINBASEAPI'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1418) : error C2146: syntax error : missing ';' before identifier 'BOOL'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1418) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1418) : error C2086: 'int WINBASEAPI' : redefinition
    1>        c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1214) : see declaration of 'WINBASEAPI'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1425) : error C2146: syntax error : missing ';' before identifier 'BOOL'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1425) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1425) : error C2086: 'int WINBASEAPI' : redefinition
    1>        c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1214) : see declaration of 'WINBASEAPI'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1439) : error C2144: syntax error : 'int' should be preceded by ';'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1439) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1439) : error C2086: 'int WINBASEAPI' : redefinition
    1>        c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1214) : see declaration of 'WINBASEAPI'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1449) : error C2144: syntax error : 'int' should be preceded by ';'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1449) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1449) : error C2086: 'int WINBASEAPI' : redefinition
    1>        c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1214) : see declaration of 'WINBASEAPI'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1465) : error C2146: syntax error : missing ';' before identifier 'BOOL'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1465) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1465) : error C2086: 'int WINBASEAPI' : redefinition
    1>        c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1214) : see declaration of 'WINBASEAPI'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1473) : error C2146: syntax error : missing ';' before identifier 'BOOL'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1473) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1473) : error C2086: 'int WINBASEAPI' : redefinition
    1>        c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1214) : see declaration of 'WINBASEAPI'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1489) : error C2144: syntax error : 'int' should be preceded by ';'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1489) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1489) : error C2086: 'int WINBASEAPI' : redefinition
    1>        c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1214) : see declaration of 'WINBASEAPI'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1498) : error C2146: syntax error : missing ';' before identifier 'LCID'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1498) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1498) : error C2086: 'int WINBASEAPI' : redefinition
    1>        c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1214) : see declaration of 'WINBASEAPI'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1507) : error C2144: syntax error : 'int' should be preceded by ';'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1507) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1507) : error C2086: 'int WINBASEAPI' : redefinition
    1>        c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1214) : see declaration of 'WINBASEAPI'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1511) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1511) : error C2143: syntax error : missing ',' before '*'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1517) : error C2144: syntax error : 'int' should be preceded by ';'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1517) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1517) : error C2086: 'int WINBASEAPI' : redefinition
    1>        c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1214) : see declaration of 'WINBASEAPI'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1521) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1521) : error C2143: syntax error : missing ',' before '*'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1535) : error C2144: syntax error : 'int' should be preceded by ';'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1535) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1535) : error C2086: 'int WINBASEAPI' : redefinition
    1>        c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1214) : see declaration of 'WINBASEAPI'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1539) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1539) : error C2143: syntax error : missing ',' before '*'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1548) : error C2144: syntax error : 'int' should be preceded by ';'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1548) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1548) : error C2086: 'int WINBASEAPI' : redefinition
    1>        c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1214) : see declaration of 'WINBASEAPI'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1552) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1552) : error C2143: syntax error : missing ',' before '*'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1558) : error C2144: syntax error : 'int' should be preceded by ';'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1558) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1558) : error C2086: 'int WINBASEAPI' : redefinition
    1>        c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1214) : see declaration of 'WINBASEAPI'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1562) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1562) : error C2143: syntax error : missing ',' before '*'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1574) : error C2144: syntax error : 'int' should be preceded by ';'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1574) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1574) : error C2086: 'int WINBASEAPI' : redefinition
    1>        c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1214) : see declaration of 'WINBASEAPI'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1584) : error C2144: syntax error : 'int' should be preceded by ';'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1584) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1584) : error C2086: 'int WINBASEAPI' : redefinition
    1>        c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1214) : see declaration of 'WINBASEAPI'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1600) : error C2144: syntax error : 'int' should be preceded by ';'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1600) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1600) : error C2086: 'int WINBASEAPI' : redefinition
    1>        c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1214) : see declaration of 'WINBASEAPI'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1610) : error C2144: syntax error : 'int' should be preceded by ';'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1610) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1610) : error C2086: 'int WINBASEAPI' : redefinition
    1>        c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1214) : see declaration of 'WINBASEAPI'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1626) : error C2146: syntax error : missing ';' before identifier 'BOOL'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1626) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1626) : error C2086: 'int WINBASEAPI' : redefinition
    1>        c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1214) : see declaration of 'WINBASEAPI'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1634) : error C2146: syntax error : missing ';' before identifier 'BOOL'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1634) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1634) : error C2086: 'int WINBASEAPI' : redefinition
    1>        c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1214) : see declaration of 'WINBASEAPI'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1649) : error C2146: syntax error : missing ';' before identifier 'BOOL'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1649) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1649) : error C2086: 'int WINBASEAPI' : redefinition
    1>        c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1214) : see declaration of 'WINBASEAPI'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1657) : error C2146: syntax error : missing ';' before identifier 'BOOL'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1657) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1657) : error C2086: 'int WINBASEAPI' : redefinition
    1>        c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1214) : see declaration of 'WINBASEAPI'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1672) : error C2146: syntax error : missing ';' before identifier 'BOOL'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1672) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1672) : error C2086: 'int WINBASEAPI' : redefinition
    1>        c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1214) : see declaration of 'WINBASEAPI'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1679) : error C2146: syntax error : missing ';' before identifier 'BOOL'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1679) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1679) : error C2086: 'int WINBASEAPI' : redefinition
    1>        c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1214) : see declaration of 'WINBASEAPI'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1692) : error C2146: syntax error : missing ';' before identifier 'BOOL'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1692) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1692) : error C2086: 'int WINBASEAPI' : redefinition
    1>        c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1214) : see declaration of 'WINBASEAPI'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1699) : error C2146: syntax error : missing ';' before identifier 'BOOL'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1699) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1699) : error C2086: 'int WINBASEAPI' : redefinition
    1>        c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1214) : see declaration of 'WINBASEAPI'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1713) : error C2146: syntax error : missing ';' before identifier 'BOOL'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1713) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1713) : error C2086: 'int WINBASEAPI' : redefinition
    1>        c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1214) : see declaration of 'WINBASEAPI'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1720) : error C2146: syntax error : missing ';' before identifier 'BOOL'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1720) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1720) : error C2086: 'int WINBASEAPI' : redefinition
    1>        c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1214) : see declaration of 'WINBASEAPI'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1735) : error C2146: syntax error : missing ';' before identifier 'BOOL'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1735) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1735) : error C2086: 'int WINBASEAPI' : redefinition
    1>        c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1214) : see declaration of 'WINBASEAPI'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1743) : error C2146: syntax error : missing ';' before identifier 'BOOL'
    1>c:\program files\microsoft sdks\windows\v6.0a\include\winnls.h(1743) : fatal error C1003: error count exceeds 100; stopping compilation
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
    i downloaded and updated winbase.h , re-installed C++
    but it still gives error

    wut should i do ?
    Last edited by aLcohoL_95; 07-08-2011 at 08:08 AM.

    CANNIBAL CORPSE P0WNS


  2. #2
    yodaliketaco's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    winsock.dll
    Posts
    645
    Reputation
    45
    Thanks
    514
    My Mood
    Tired
    I'm guessing you missed a ; somewhere and that's throwing off the whole program. Sometimes I accidentally type : instead of ; so watch out for that. If you have types that don't match you can do a quick fix, just put the desired type in parenthesis before the value.

    Ex.
    Code:
    int x = 5;
    string input;
    getline(cin, input);
    if ((string)x == input)
    {
    function}
    This treats x as a string for the purpose of comparing it to input. This method is called casting and can fix some of your errors.

    Read over your code and look for typos. It looks less like you have logical errors and more like you have some typos.

  3. #3
    aLcohoL_95's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Location
    SatyRicon
    Posts
    685
    Reputation
    8
    Thanks
    291
    My Mood
    Cynical
    Quote Originally Posted by yodaliketaco View Post
    I'm guessing you missed a ; somewhere and that's throwing off the whole program. Sometimes I accidentally type : instead of ; so watch out for that. If you have types that don't match you can do a quick fix, just put the desired type in parenthesis before the value.

    Ex.
    Code:
    int x = 5;
    string input;
    getline(cin, input);
    if ((string)x == input)
    {
    function}
    This treats x as a string for the purpose of comparing it to input. This method is called casting and can fix some of your errors.

    Read over your code and look for typos. It looks less like you have logical errors and more like you have some typos.
    i think im not guesssed sth cuz i compiled the same project b4 :S

    CANNIBAL CORPSE P0WNS


  4. #4
    yodaliketaco's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    winsock.dll
    Posts
    645
    Reputation
    45
    Thanks
    514
    My Mood
    Tired
    If you haven't made any changes at all since it successfully compiled, you should post the source code.

  5. #5
    aLcohoL_95's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Location
    SatyRicon
    Posts
    685
    Reputation
    8
    Thanks
    291
    My Mood
    Cynical
    iwill pm u the code
    Last edited by aLcohoL_95; 07-08-2011 at 09:14 AM.

    CANNIBAL CORPSE P0WNS


  6. #6
    .::SCHiM::.'s Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    733
    Reputation
    180
    Thanks
    880
    My Mood
    Twisted
    We can help you better if you just post the source here.

    And what do you mean by: "I've updated the winbase.h" Did you do this before of after the errors started to show up?

    without source it's hard to tell, but maybe you've included <winbase.h> instead of <windows.h> ? If you have just replace winbase.h with windows.h

    If you updated winbase.h and the error popped up thereafter, there's nothing more we can do for you, the only thing you can do is reinstall your compiler.

    I'm SCHiM

    Morals derive from the instinct to survive. Moral behavior is survival behavior above the individual level.

    Polymorphic engine
    Interprocess callback class
    SIN
    Infinite-precision arithmetic
    Hooking dynamic linkage
    (sloppy)Kernel mode Disassembler!!!

    Semi debugger




  7. #7
    aLcohoL_95's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Location
    SatyRicon
    Posts
    685
    Reputation
    8
    Thanks
    291
    My Mood
    Cynical
    Quote Originally Posted by .::SCHiM::. View Post
    We can help you better if you just post the source here.

    And what do you mean by: "I've updated the winbase.h" Did you do this before of after the errors started to show up?

    without source it's hard to tell, but maybe you've included <winbase.h> instead of <windows.h> ? If you have just replace winbase.h with windows.h

    i found real code of winbase.h
    and replaced code
    i saw it on another site
    he says i re-installed C++ but it didnt fixed like mine and error was the same
    he said download this winbase.h
    i replaced with the old1 but results is same

    and i did all of these after errors
    ofc i wont change codes of winbase without any error

    and i will pm me SChim hope ucan help me

    CANNIBAL CORPSE P0WNS


  8. #8
    .::SCHiM::.'s Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    733
    Reputation
    180
    Thanks
    880
    My Mood
    Twisted
    Ok, The only thing I think will help you at this point is to reinstall your compiler.
    Save your projects in a temporary folder and uninstall your old compiler completely. now reinstall your compiler and put the old project files back in place. That should fix any errors you have in your standard libraries.

    I'm SCHiM

    Morals derive from the instinct to survive. Moral behavior is survival behavior above the individual level.

    Polymorphic engine
    Interprocess callback class
    SIN
    Infinite-precision arithmetic
    Hooking dynamic linkage
    (sloppy)Kernel mode Disassembler!!!

    Semi debugger




  9. #9
    aLcohoL_95's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Location
    SatyRicon
    Posts
    685
    Reputation
    8
    Thanks
    291
    My Mood
    Cynical
    Quote Originally Posted by .::SCHiM::. View Post
    Ok, The only thing I think will help you at this point is to reinstall your compiler.
    Save your projects in a temporary folder and uninstall your old compiler completely. now reinstall your compiler and put the old project files back in place. That should fix any errors you have in your standard libraries.
    do u think i didnt do that ? i re-install Microsoft C++ after error but it still gives S:
    Edit : Fixed
    Last edited by aLcohoL_95; 07-08-2011 at 03:41 PM.

    CANNIBAL CORPSE P0WNS


Similar Threads

  1. Hellbreath Int Error?
    By RebornAce in forum General
    Replies: 10
    Last Post: 03-06-2009, 09:04 PM
  2. Gunz Error Message
    By A7X Oblivian in forum Gunz General
    Replies: 2
    Last Post: 02-08-2006, 02:00 PM
  3. Connection error
    By DrKaOs in forum WarRock - International Hacks
    Replies: 6
    Last Post: 02-05-2006, 08:37 PM
  4. K Warrock error :(
    By i eat trees in forum WarRock - International Hacks
    Replies: 2
    Last Post: 01-26-2006, 08:40 PM