Detect whether your program runs in the IDE (Views: 706)
Problem/Question/Abstract: Detect whether your program runs in the IDE Answer: Below is another way to detect whether your program runs in the Delphi IDE program p; begin if DebugHook <> 0 then ShowMessage('Running in Delphi IDE'); end. |