error C2146: syntax error : missing ';' before identifier 'TCHAR'
unexpected end of file found就是这两句话有问题
TCHAR szAppName[]="SDKAutoOff";
TCHAR time[4];
int WINAPI WinMain (HINSTANCE hInstance,NULL,PSTR szCmdLine, int iCmdShow)
unexpected end of file found就是这两句话有问题
TCHAR szAppName[]="SDKAutoOff";
TCHAR time[4];
int WINAPI WinMain (HINSTANCE hInstance,NULL,PSTR szCmdLine, int iCmdShow)
#include"resource.h"
#include<string.h>
可是问题还在啊??
char time[4];
waring C4518: 'char ' : storage-class or type specifier(s) unexpected here; ignoredsyntax error : missing ';' before identifier 'szAppName'
其实不用UNICODE时,TCHAR就是char
C下对[]敏感吧
TCHAR szAppName[]=Text("SDKAutoOff");
TCHAR szAppName[] = _T("SDKAutoOff");
second,
make sure your sdk source file has an extension of ".cpp";