🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.nativeapi
2 messages
2 total messages Started by Klaus Skibowski Mon, 05 May 2003 10:17
determine if a program is started in IDE
#16675
Author: Klaus Skibowski
Date: Mon, 05 May 2003 10:17
6 lines
1048 bytes
How can I determine if a program was started by the IDE ?
We use a library which crashes the program only if it
was started by the IDE.

thanks
Klaus Skibowski
Re: determine if a program is started in IDE
#16532
Author: Remy Lebeau (TeamB)
Date: Mon, 05 May 2003 16:30
14 lines
1468 bytes
"Klaus Skibowski" <Klaus.Skibowski@izfm.uni-stuttgart.de> wrote in message
news:3eb63a3f$1@newsgroups.borland.com...
> How can I determine if a program was started by
> the IDE ? We use a library which crashes the
> program only if it was started by the IDE.

You can't determine whether the IDE was the one who actually spawned the
process.  However, you can detect whether the program is running under the
context of a debugger (any debugger) in general.  There is an
IsDebuggerPresent() function for that purpose.


Gambit
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads