erreurs LPCONTEXT Visual C++
Bonjour,
J'ai essayé beaucoup de solutions proposées sur différents forums, j'ai toujours les 15 erreurs qui suivent:
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
1>C:\Program Files\Microsoft Platform SDK\Include\winnt.h(3857) : error C2146: syntax error : missing ';' before identifier 'ContextRecord'
1>C:\Program Files\Microsoft Platform SDK\Include\winnt.h(3857) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files\Microsoft Platform SDK\Include\winnt.h(3857) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files\Microsoft Platform SDK\Include\winnt.h(8319) : error C2065: 'PCONTEXT' : undeclared identifier
1>C:\Program Files\Microsoft Platform SDK\Include\winnt.h(8320) : error C2146: syntax error : missing ')' before identifier 'ContextRecord'
1>C:\Program Files\Microsoft Platform SDK\Include\winnt.h(8320) : warning C4229: anachronism used : modifiers on data are ignored
1>C:\Program Files\Microsoft Platform SDK\Include\winnt.h(8320) : error C2182: 'RtlCaptureContext' : illegal use of type 'void'
1>C:\Program Files\Microsoft Platform SDK\Include\winnt.h(8320) : error C2491: 'RtlCaptureContext' : definition of dllimport data not allowed
1>C:\Program Files\Microsoft Platform SDK\Include\winnt.h(8320) : error C2059: syntax error : ')'
1>C:\Program Files\Microsoft Platform SDK\Include\winnt.h(9594) : error C3861: '__readfsdword': identifier not found
1>C:\Program Files\Microsoft Platform SDK\Include\winbase.h(779) : error C2146: syntax error : missing ';' before identifier 'LPCONTEXT'
1>C:\Program Files\Microsoft Platform SDK\Include\winbase.h(779) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files\Microsoft Platform SDK\Include\winbase.h(779) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files\Microsoft Platform SDK\Include\winbase.h(3155) : error C2061: syntax error : identifier 'LPCONTEXT'
1>C:\Program Files\Microsoft Platform SDK\Include\winbase.h(3163) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files\Microsoft Platform SDK\Include\winbase.h(3163) : error C2143: syntax error : missing ',' before '*' |
Je suis un peu désespérée j'ai essayé de changer l'ordre des includes dans stdafx.h, j'ai essayé de rajouter define _x86_ , de modifier les définitions préprocesseur rien ne fonctionne...
:cry:
Si quelqu'un a une idée ce serait bien puisque visiblement c'est un problème courant...
Merci d'avance
Gate35