.net – Detect if the application is running under the IDE “Delphi 2007 .Net”

delphidelphi-2007delphi.net

How can I detect if my application is running under the IDE "Delphi 2007 .Net", there is something like DebugHook?

Bye.

Best Answer

Answer my own question.

uses System.Diagnostics; 

function IDEDelphiNetRunning:Boolean; 
Begin 
Result:=Debugger.IsAttached; 
End; 

works fine for me.

Bye.

Related Topic