Tuesday, November 18, 2008

error C2146: syntax error : missing ';' before identifier 'ContextRecord'

出現 error C2146: syntax error : missing ';' before identifier 'ContextRecord' 錯誤時,可能是 include 檔案的順序不對所致。改為這樣就對了。

#include stdio.h
#include windows.h
#include windef.h
#include winnt.h
#include basetsd.h

0 Comments:

Post a Comment

<< Home