Suspending a program in Win32Lib.

new topic     » topic index » view thread      » older message » newer message

This is a multi-part message in MIME format.

------=_NextPart_000_000A_01C49BDD.86534BA0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 8bit


Here is basically what I am trying to do:

button_onClick(int self, int event, seq params)
    Execute_Some_Program()
    while program_is_still_running do
        doEvents(0)
    end while
    restart(0)
end procedure

Any ideas on how to do 'program_is_still_running' using ShellExecute and
ShellExecuteEx calls?

Btw, a virtual cookie to the first person who guesses why I want to do this! :)
Thx,
William Heimbigner
icxcnika at hotpop.com
Visit the UBoard - Forceful Signups Removed! - http://uboard.proboards32.com -
Threaded discussion, improved searching, human moderating, graphical smileys,
better formatting abilities (now what else was there...)
Visit my website: http://www.geocities.com/icxcnika123
------=_NextPart_000_000A_01C49BDD.86534BA0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: 8bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Here is basically what I am trying to 
do:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>button_onClick(int self, int event, seq 
params)</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; 
Execute_Some_Program()</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; while program_is_still_running 
do</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
doEvents(0)</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; end while</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; restart(0)</FONT></DIV>
<DIV><FONT face=Arial size=2>end procedure</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Any ideas on how to do 'program_is_still_running' 
using ShellExecute and ShellExecuteEx calls?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Btw, a virtual cookie to the first person who 
guesses why I want to do this! :)</FONT></DIV>
<DIV><FONT face=Arial size=2>Thx,</FONT></DIV>
<DIV><FONT face=Arial size=2>William Heimbigner<BR><A 
href="mailto:icxcnika at hotpop.com">icxcnika at hotpop.com</A><BR>Visit the
UBoard -
Forceful Signups Removed! - <A 
href="http://uboard.proboards32.com">http://uboard.proboards32.com</A> - 
Threaded discussion, improved searching, human moderating, graphical smileys, 
better formatting abilities (now what else was there...)<BR>Visit my website: <A
href="http://www.geocities.com/icxcnika123">http://www.geocities.com/icxcnika123</A></FONT></DIV></BODY></HTML>

------=_NextPart_000_000A_01C49BDD.86534BA0--

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu