windows.h Einbindung
-
Hi, das Einbinden von windows.h in MVC++ 2010 liefert Fehlermeldungen, egal in welcher Klasse windows.h als Include verwendet wird: Besten Dank für Ideen zur Lösung:
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\prsht.h(199): error C2146: syntax error : missing ';' before identifier 'pResource'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\prsht.h(199): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\prsht.h(199): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\prsht.h(199): error C2146: syntax error : missing ';' before identifier 'pfnCallback'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\prsht.h(199): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\prsht.h(199): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\prsht.h(205): error C2146: syntax error : missing ';' before identifier 'pResource'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\prsht.h(205): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\prsht.h(205): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
-
windows.h muss immer die erste Date sein.
Oder eben einer der MFC Header afx..h afxwin.h.
Du postest ja im MFC Forum.
-
super, vielen dank, so funktionierts