Mega Code Archive

 
Categories / Delphi / API
 

Determining if delphi running

Question: How can I tell if Delphi / C++ Builder is running? Answer: Use the example program in the faq for finding a Window. Note that the main Delphi / C++ Builder class name is TAppBuilder; if FindWindow('TAppBuilder', Nil) <> 0 Then ShowMessage('Delphi and or C++ Builder is running');