How do I detect if my application is running in the IDE?
Use the IsDebuggerPresent() WinAPI call. Example:
IsDebuggerPresent()
if (IsDebuggerPresent()) Label1->Caption = "debug"; else Label1->Caption = "no debug";
Last Modified: 22-JAN-01