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


Groups > comp.lang.clipper.visual-objects > #2014 > unrolled thread

How to terminate a process within VO

Started byEckhard Sallermann <eckhard.sallermann@bur-kg.de>
First post2011-09-15 12:26 +0200
Last post2011-09-15 21:21 +0200
Articles 4 — 2 participants

Back to article view | Back to comp.lang.clipper.visual-objects


Contents

  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

#2014 — How to terminate a process within VO

FromEckhard Sallermann <eckhard.sallermann@bur-kg.de>
Date2011-09-15 12:26 +0200
SubjectHow to terminate a process within VO
Message-ID<j4sjt7$vcf$1@dont-email.me>
WINXP SP3
VO 2.8 SP3

hi,

how can i terminate a windowsprocess with Vo  ?

[toc] | [next] | [standalone]


#2015

From"E®!k \\/!$$E®" <nospam@nospam.url>
Date2011-09-15 12:41 +0200
Message-ID<9de31rFlgaU1@mid.individual.net>
In reply to#2014
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  ? 

[toc] | [prev] | [next] | [standalone]


#2016

FromEckhard Sallermann <eckhard.sallermann@bur-kg.de>
Date2011-09-15 12:50 +0200
Message-ID<j4slae$8fc$1@dont-email.me>
In reply to#2015
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 ?

[toc] | [prev] | [next] | [standalone]


#2022

From"E®!k \\/!$$E®" <nospam@nospam.url>
Date2011-09-15 21:21 +0200
Message-ID<9df1hqFbtU1@mid.individual.net>
In reply to#2016
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 ? 

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.clipper.visual-objects


csiph-web