I want to close one external application in the other application, I develop the application with Borland C++ Builder. Here is the code I am using:
HWndCls= Winprocs->FindWindow(nil, "cp801");
SendMessage(HWndCls, WM_CLOSE, 0, 0);
But, when I compile it , error as "Undefined symbol 'Winprocs'" and
"Undefind symbol 'nil'" were reported. What's wrong? Is there some head-file I should include?
Thanks for telling me why?