Article View: borland.public.cppbuilder.nativeapi
Article #16532Re: determine if a program is started in IDE
From: Remy Lebeau (TeamB)
Date: Mon, 05 May 2003 16:30
Date: Mon, 05 May 2003 16:30
14 lines
1468 bytes
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
Technical Details
Message-ID:
<3eb6914c$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3eb63a3f$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,630d7665b58a21ee X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-05-05 09:35:18 PST From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3eb63a3f$1@newsgroups.borland.com> Subject: Re: determine if a program is started in IDE Date: Mon, 5 May 2003 09:30:39 -0700 Lines: 16 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 207.175.226.26 Message-ID: <3eb6914c$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1052152140 207.175.226.26 (5 May 2003 09:29:00 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail