this only detects if Delphi is running on the machine not if the program is
running within the IDE

if (FindWindow('TPropertyInspector','Object Inspector') = 0) then 
  //running on development machine
else
  //not running on development machine

Maurice Butler
Like Magic Ltd



-----Original Message-----
From: INTERNET:[EMAIL PROTECTED] 
Sent: Monday, September 27, 1999 8:50 PM
To: Multiple recipients of list delphi
Subject: [DUG]: Detect running within IDE


 
Hello,

Does any of you know how to detect whether a program is running within
Delphi IDE?

I know lots of shareware components works only within Delphi IDE unless
registered.  So there must be a way to know it.  I just can't find it.


--------------------------------------------------------------
Edward Tianjun Huang                    Today Software Limited
                                        97 Great South Road
Email: [EMAIL PROTECTED] (Company)     Remuera
       [EMAIL PROTECTED] (Private)    Auckland
--------------------------------------------------------------




---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to