回复 41楼 hahayezhe
我把HMENU(-1)换成了NULL 编译无法通过 再换回去 怪了原来可以运行出结果的程序现在通不过了?而且全部错误还都出在basetsd.h上,
c:\program files\microsoft visual studio\vc98\include\excpt.h(153) : error C2143: syntax error : missing ';' before '}'
c:\program files\microsoft visual studio\vc98\include\excpt.h(153) : error C2143: syntax error : missing ';' before '}'
c:\program files\microsoft visual studio\vc98\include\excpt.h(153) : error C2143: syntax error : missing ';' before '}'
c:\program files\microsoft visual studio\vc98\include\stdarg.h(36) : error C2143: syntax error : missing ';' before '{'
c:\program files\microsoft visual studio\vc98\include\stdarg.h(36) : error C2447: missing function header (old-style formal list?)
c:\program files\microsoft visual studio\vc98\include\winbase.h(3000) : error C2061: syntax error : identifier 'va_list'
c:\program files\microsoft visual studio\vc98\include\winbase.h(3012) : error C2061: syntax error : identifier 'va_list'
c:\program files\microsoft visual studio\vc98\include\winuser.h
(191) : error C2061: syntax error : identifier 'va_list'
c:\program files\microsoft visual studio\vc98\include\winuser.h(198) : error C2061: syntax error : identifier 'va_list'
#ifdef __cplusplus extern "C" { #endif-----
程序代码:
WINUSERAPI int WINAPI wvsprintfA( LPSTR, LPCSTR, va_list arglist); WINUSERAPI int WINAPI wvsprintfW( LPWSTR, LPCWSTR, va_list arglist);上面两段说的什么 extern "C" { 的大括号什么意思啊。
梅尚程荀
马谭杨奚