Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #13143

Re: How detect run from IDE/EXE

Path csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From "Wolfgang Riedmann" <wriedmann@gmail.com>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: How detect run from IDE/EXE
Date Fri, 13 Nov 2020 10:38:59 +0100
Lines 22
Message-ID <i172hjF678U1@mid.individual.net> (permalink)
References <8e61c8a6-baf0-4e80-a928-296d19c6bb7cn@googlegroups.com> <i0sq5cFub00U1@mid.individual.net> <56106e4e-82ff-4650-b5f5-dc933ff388f6n@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
X-Trace individual.net lRxHA+zkY8J05UnekSuGHwb4uOFH172kpvFMszbfDqUWYE8GA=
Cancel-Lock sha1:KhYFfNTZfhgr0K5+aZW3zeT7yAk=
User-Agent XanaNews/1.18.1.6
Xref csiph.com comp.lang.clipper.visual-objects:13143

Show key headers only | View raw


Hi Gregory,

> I though of detecting DBG but did not know how to get location...
> 
> GetModuleFileName is Windows function?

yes, it is.

> Do I understand corretly that debugging X# is more difficult than VO
> (no step by step debugger)?


the debugger itself works much better, but when started from the IDE it
is not easy to detect that because it is the normal executable that
gets started.
To detect if running from the IDE I had to check the calling process to
see if it is Visual Studio or XIDE.

Wolfgang

-- 

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

How detect run from IDE/EXE "Grzegorz R." <ramotny64@gmail.com> - 2020-11-09 04:09 -0800
  Re: How detect run from IDE/EXE "Wolfgang Riedmann" <wriedmann@gmail.com> - 2020-11-09 13:14 +0100
    Re: How detect run from IDE/EXE "Grzegorz R." <ramotny64@gmail.com> - 2020-11-09 06:32 -0800
      Re: How detect run from IDE/EXE "Wolfgang Riedmann" <wriedmann@gmail.com> - 2020-11-13 10:38 +0100

csiph-web