Hi there,
What's wrong with declaring "INPUT ttnptt;" in main.c? No matter how the variable is named: nptt, or ttnptt, it gets the same error as "main.c(58) : error C2061: syntax error : identifier 'ttnptt'". We know that INPUT is Declared in Winuser.h, which is included in Windows.h.
Could anyone please give advice on this? This is very much appreciated.
: Thanks,
Code:#include <windows.h> ... INPUT ttnptt; .. cl -Z7 -Od -c -W3 -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -D_X86_=1 -D_WINNT -D_WIN32_WINNT=0x0400 -D_WIN32_IE=0x0300 -DWINVER=0x0400 -DWIN32 -D_WIN32 main.c main.c main.c(58) : error C2061: syntax error : identifier 'ttnptt' main.c(58) : error C2059: syntax error : ';' NMAKE : fatal error U1077: 'cl' : return code '0x2' Stop.