已经#include
提示:
BUILD: [01:0000000021:ERRORE] E:\WINCE500\PUBLIC\COMMON\OAK\DRIVERS\TOUCH\TCHMAIN\tchmain.c(476) : error C2275: 'TCHAR' : illegal use of this type as an expression
BUILD: [01:0000000023:ERRORE] E:\WINCE500\PUBLIC\COMMON\OAK\DRIVERS\TOUCH\TCHMAIN\tchmain.c(476) : error C2146: syntax error : missing ';' before identifier 'str1'
BUILD: [01:0000000024:ERRORE] E:\WINCE500\PUBLIC\COMMON\OAK\DRIVERS\TOUCH\TCHMAIN\tchmain.c(476) : error C2144: syntax error : '' should be preceded by ''
BUILD: [01:0000000025:ERRORE] E:\WINCE500\PUBLIC\COMMON\OAK\DRIVERS\TOUCH\TCHMAIN\tchmain.c(476) : error C2144: syntax error : '' should be preceded by ''
BUILD: [01:0000000026:ERRORE] E:\WINCE500\PUBLIC\COMMON\OAK\DRIVERS\TOUCH\TCHMAIN\tchmain.c(476) : error C2143: syntax error : missing ';' before 'identifier'
BUILD: [01:0000000027:ERRORE] E:\WINCE500\PUBLIC\COMMON\OAK\DRIVERS\TOUCH\TCHMAIN\tchmain.c(476) : error C2065: 'str1' : undeclared identifier
BUILD: [01:0000000028:ERRORE] E:\WINCE500\PUBLIC\COMMON\OAK\DRIVERS\TOUCH\TCHMAIN\tchmain.c(476) : error C2109: subscript requires array or pointer type
TCHAR 的定义是在wtypes.h中
不行就用unsigned short代替吧,其实TCHAR就是它的宏定义。