1 2 /*3 This is useful if your running a application on a remote PC and you need the app to 4 send you information on its status.5 */6 7 void__fastcall TForm1::Button2Click(TObject *Sender)
8 {
9 10 String sData="Net Send " + edtPC_name->Text + " " + edtMessage->Text;
11 PChar p = sData.c_str();
12 WinExec(p,SW_HIDE);
13 }
14 //---------------------------------------------------------------------------