Board index » delphi » Am i running in delphi's IDE or not

Am i running in delphi's IDE or not

Hi

Does anyone know how to distinguish whether your code is being run from
within the Delphi 4.0 IDE as opposed to running as a normal .exe

Warren Weber
warr...@hypermax.net.au

Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

 

Re:Am i running in delphi's IDE or not


Look up ComponentState, specifically csDesigning value.
Quote
warr...@my-deja.com wrote in message <7jhjll$4j...@nnrp1.deja.com>...
>Hi

>Does anyone know how to distinguish whether your code is being run from
>within the Delphi 4.0 IDE as opposed to running as a normal .exe

>Warren Weber
>warr...@hypermax.net.au

>Sent via Deja.com http://www.deja.com/
>Share what you know. Learn what you don't.

Re:Am i running in delphi's IDE or not


Im Artikel <7jhjll$4j...@nnrp1.deja.com>, warr...@my-deja.com schreibt:

Quote
>Does anyone know how to distinguish whether your code is being run from
>within the Delphi 4.0 IDE as opposed to running as a normal .exe

Unless you get more Delphi specific answers, the difference would be the
de{*word*81}, which is in effect for the application. I cannot remember reliable
methods, to figure out when an application is being debugged.

Perhaps it's possible to determine, that at the same time an IDE window exists,
and which project is active in that window.

DoDi

Other Threads