Title: Signature
The Microsoft's recommended way is


function IsDebuggerPresent(): Boolean; external 'kernel32.dll';

However, DebugHook sounds simpler.

David Brennan wrote:

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.

 

 

 


_______________________________________________ Delphi mailing list [email protected] http://ns3.123.co.nz/mailman/listinfo/delphi

--



Rohit Gupta
B.E. Elec.   M.E.   Mem IEEE    Associate IEE
Technical Manager
Computer Fanatics Limited
 
Tel     +64 9 4892280
Fax    +64 9 4892290
Web    www.cfl.co.nz
 

This email and any attachments contain information, which is confidential and may be subject to legal privilege and copyright. If you are not the intended recipient, you must not use, distribute or copy this email or attachments. If you have received this in error, please notify us immediately by return email and then delete this email and any attachments.
_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to