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


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

Re: How to terminate a process within VO

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!news.musoftware.de!wum.musoftware.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From "EŽ!k \\/!$$EŽ" <nospam@nospam.url>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: How to terminate a process within VO
Date Thu, 15 Sep 2011 21:21:30 +0200
Lines 43
Message-ID <9df1hqFbtU1@mid.individual.net> (permalink)
References <j4sjt7$vcf$1@dont-email.me> <9de31rFlgaU1@mid.individual.net> <j4slae$8fc$1@dont-email.me>
Mime-Version 1.0
Content-Type text/plain; format=flowed; charset="ISO-8859-15"; reply-type=response
Content-Transfer-Encoding 8bit
X-Trace individual.net FP+IBcB6gcguofoTqlmOQARXNUc6nktNmQivV6p2nFTjae/rVo
Cancel-Lock sha1:RW+QrlbXiFXfCTKFY6N8DPS1E2Y=
In-Reply-To <j4slae$8fc$1@dont-email.me>
X-Priority 3
X-MSMail-Priority Normal
Importance Normal
X-Newsreader Microsoft Windows Live Mail 15.4.3538.513
X-MimeOLE Produced By Microsoft MimeOLE V15.4.3538.513
Xref x330-a1.tempe.blueboxinc.net comp.lang.clipper.visual-objects:2022

Show key headers only | View raw


Hi Eckhard,

And what happens if you do not send WM_CLOSE but WM_DESTROY ?

Erik


"Eckhard Sallermann"  schreef in bericht news:j4slae$8fc$1@dont-email.me...

hi Erik,

thank you, i have already tried that


ptrExcel := FindWindow(String2Psz("XLMAIN"),null_psz)
if !ptrExcel == null_ptr
     ? SendMessage( ptrExcel , WM_CLOSE , 0L , 0L )
endif

The Sendmessage returns 0 but the process will still be activ




Am 15.09.2011 12:41, schrieb E®!k \/!$$E®:
> Eckhard,
>
> Get the handle of the process with the Win32 API function FindWindow()
> and send the WM_CLOSE message.
>
> regards,
>
> Erik
>
> "Eckhard Sallermann" schreef in bericht news:j4sjt7$vcf$1@dont-email.me...
>
> WINXP SP3
> VO 2.8 SP3
>
> hi,
>
> how can i terminate a windowsprocess with Vo ? 

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


Thread

How to terminate a process within VO Eckhard Sallermann <eckhard.sallermann@bur-kg.de> - 2011-09-15 12:26 +0200
  Re: How to terminate a process within VO "E®!k \\/!$$E®" <nospam@nospam.url> - 2011-09-15 12:41 +0200
    Re: How to terminate a process within VO Eckhard Sallermann <eckhard.sallermann@bur-kg.de> - 2011-09-15 12:50 +0200
      Re: How to terminate a process within VO "E®!k \\/!$$E®" <nospam@nospam.url> - 2011-09-15 21:21 +0200

csiph-web