Главная страница | назад





Article #17201: How can I tell if C++ Builder is running?

 Question and Answer Database
FAQ2201C.txt How can I tell if C++ Builder is running?
Category :IDE
Platform :All
Product :C++Builder 1.x
Question:
How can I tell if C++ Builder is running?
Answer:
Use this example for finding a Window. Note that
the main C++ Builder class name is TAppBuilder;
void __fastcall TForm1::Button1Click(TObject *Sender)
{
if (FindWindow("TAppBuilder", NULL) != 0)
ShowMessage("C++ Builder is running");
}
7/2/98 10:32:32 AM

Last Modified: 01-SEP-99