Lib einbinden "Visual C++ 2005 Express Edition Englisch"



  • Hallo,
    wie kann ich die winmm.lib in mein Projekt einbinden, mit #pragma comment(lib,"winmm.lib") geht es anscheint nicht. Bekomme immer diesen Fehler: fatal error C1083: Cannot open include file: 'mmsystem.h': No such file or directory

    Danke für eure Hilfe
    Gruß Daniel



  • Platform SDK installiert?



  • ich habs runtergeladen aber wie installieren ??? Also mein PSDK-Ordner ist ca.900MB groß.

    Danke
    Daniel



  • Hi,
    ich habe es jetzt so installiert wie es bei MS steht, jedoch ist immer noch der gleiche Fehler kann mir denn keiner helfen!???

    Gruß Daniel



  • jetzt bekomme ich diese Fehler:
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(103) : error C2146: syntax error : missing ';' before identifier 'MMVERSION'
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(103) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(103) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(111) : error C2143: syntax error : missing ';' before ''
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(111) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(121) : error C2146: syntax error : missing ';' before identifier 'ms'
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(121) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(121) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(122) : error C2146: syntax error : missing ';' before identifier 'sample'
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(122) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(122) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(123) : error C2146: syntax error : missing ';' before identifier 'cb'
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(123) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(123) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(124) : error C2146: syntax error : missing ';' before identifier 'ticks'
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(124) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(124) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(129) : error C2146: syntax error : missing ';' before identifier 'hour'
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(129) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(129) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(130) : error C2146: syntax error : missing ';' before identifier 'min'
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(130) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(130) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(131) : error C2146: syntax error : missing ';' before identifier 'sec'
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(131) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(131) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(132) : error C2146: syntax error : missing ';' before identifier 'frame'
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(132) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(132) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(133) : error C2146: syntax error : missing ';' before identifier 'fps'
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(133) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(133) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(134) : error C2146: syntax error : missing ';' before identifier 'dummy'
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(134) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(134) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(136) : error C2146: syntax error : missing ';' before identifier 'pad'
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(136) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(136) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(143) : error C2146: syntax error : missing ';' before identifier 'songptrpos'
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(143) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(143) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(146) : error C2143: syntax error : missing ';' before '
    '
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(146) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(146) : error C2143: syntax error : missing ';' before ''
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(146) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(146) : error C2377: 'FAR' : redefinition; typedef cannot be overloaded with any other symbol
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(111) : see declaration of 'FAR'
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(146) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(285) : error C2065: 'HDRVR' : undeclared identifier
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(285) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(298) : error C2146: syntax error : missing ';' before identifier 'dwDCISize'
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(298) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(298) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(299) : error C2146: syntax error : missing ';' before identifier 'lpszDCISectionName'
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(299) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(299) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(300) : error C2146: syntax error : missing ';' before identifier 'lpszDCIAliasName'
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(300) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(300) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(301) : error C2146: syntax error : missing ';' before identifier 'dnDevNode'
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(301) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(301) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(302) : error C2143: syntax error : missing ';' before '
    '
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(302) : error C2371: 'NEAR' : redefinition; different basic types
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(146) : see declaration of 'NEAR'
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(302) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(302) : error C2143: syntax error : missing ';' before ''
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(302) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(302) : error C2086: 'int FAR' : redefinition
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(146) : see declaration of 'FAR'
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(302) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(336) : error C2146: syntax error : missing ';' before identifier 'dwDCISize'
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(336) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(336) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(337) : error C2146: syntax error : missing ';' before identifier 'lpszDCISectionName'
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(337) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(337) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(338) : error C2146: syntax error : missing ';' before identifier 'lpszDCIAliasName'
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(338) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(338) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(339) : error C2143: syntax error : missing ';' before '
    '
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(339) : error C2371: 'NEAR' : redefinition; different basic types
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(146) : see declaration of 'NEAR'
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(339) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(339) : error C2143: syntax error : missing ';' before '*'
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(339) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(339) : error C2086: 'int FAR' : redefinition
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(146) : see declaration of 'FAR'
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(339) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(356) : error C2065: 'CALLBACK' : undeclared identifier
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(356) : error C2065: 'DRIVERPROC' : undeclared identifier
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(356) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    E:\Programme\Microsoft Platform SDK\Include\mmsystem.h(356) : fatal error C1903: unable to recover from previous error(s); stopping compilation


Anmelden zum Antworten