[DUG] Detecting running from Delphi

David Brennan dugdavid at dbsolutions.co.nz
Wed Aug 30 10:17:08 NZST 2006


Actually, to answer my own problem, it appears that checking DebugHook in
System.pas will do it (not that I have tested it yet). 

 

Since I asked the question, anyone got anything to add to that? Eg a better
way etc.

 

 

 

  _____  

From: delphi-bounces at ns3.123.co.nz [mailto:delphi-bounces at ns3.123.co.nz] On
Behalf Of David Brennan
Sent: Wednesday, 30 August 2006 10:14 a.m.
To: 'NZ Borland Developers Group - Delphi List'
Subject: [DUG] Detecting running from Delphi

 

Hi,

 

Does anyone know a way of easily (ie in a few lines) detecting that a Delphi
application is being run from Delphi as opposed to being run by double
clicking the executable?

 

Cheers,

David.

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ns3.123.co.nz/pipermail/delphi/attachments/20060830/8e04a791/attachment.html


More information about the Delphi mailing list