Hi, How can I detect if my application is running under the IDE "Delphi 2007 .Net", there is something like DebugHook?
Bye.
Hi, How can I detect if my application is running under the IDE "Delphi 2007 .Net", there is something like DebugHook?
Bye.
Something like:
Function IDEIsRunning : boolean;
begin
result := DebugHook <> 0;
end;
Might Suit.
Answer my own question.
uses System.Diagnostics;
function IDEDelphiNetRunning:Boolean;
Begin
Result:=Debugger.IsAttached;
End;
works fine for me.
Bye.