Thread: Interruptions
View Single Post
Old 26th October 2010, 19:47   #22
mariano315
Junior Member
 
Join Date: Sep 2010
Posts: 17
compiling error

I have these two lines in my code:

HWND formwm = FindWindow(NULL,L"FormWM");
this::SendMessage(formwm,WM_COMMAND,40045,0);

and I keep getting the following error:

error C2143: syntax error : missing ';' before 'SendMessage'

Please help...
mariano315 is offline   Reply With Quote