
Getting notice, if a Dos-Programm called by Shell has finished under 32 Bit
Thanks,
But I could do this using VB WinAPI and not get dirty hands from
using C, sorry...
What if the process has been created out of my app's address
space? I found one solution using vb which returns all processes, but
can I do it with one call, this I wouldn't mind getting my hands dirty?
;-)
Quote:
> -----Original Message-----
> Posted At: Sunday, August 23, 1998 3:21 PM
> Posted To: winapi
> Conversation: Getting notice, if a Dos-Programm called by Shell has
> finished under 32 Bit
> Subject: Re: ASM must provide an answer
> :There must be a asm\c solution by enumerating through all running win
> :processes/tasks?
> Yes, but there's a Win32 solution. Use CreateProcess to launch the
> program,
> and use WaitForSingleObject on the hProcess member of the returned
> PROCESS_INFORMATION structure.
> [...]
> --
> Damit Senanayake
> ICQ#: 6930718
> #include <stdio.h>
> #include <ctype.h>
> void main(){ const char*
> s="\x044\x061\x06D\x069\x074\x020\x069\x073\x020\x040\x020\x061\x06C\x
> 074\x0
> 61\x076\x069\x073\x074\x061\x02E\x06E\x065\x074"; char d[24]; for(int
> i=0;i<25;i++) ;{d[i]=toascii(s[i]);} puts(d);}
> :