syntax error : missing ';' before identifier '**'
'**' : missing storage-class or type specifiers
这两句话的意思是**没有定义,一般就是包含头文件错误导致。
这里说一种特殊情况,关于COMBOBOXINFO的使用,直接使用COMBOBOXINFO也会引发上述错误,但却不是包含文件的问题,而是windows版本的问题,解决方法如下:
(一)对MFC:
在stdafx.h中加入:
#define WINVER 0x0500
(二)对SDK:
则需加在#i nclude <windows.h>之前,形如:
#define WINVER 0x0500
#i nclude <windows.h>