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

From "Wolfgang Riedmann" <wriedmann@gmail.com>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: How detect run from IDE/EXE
Date 2020-11-13 10:38 +0100
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>

Show all headers | 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