Re: Wrapping "CreateProcess"
- Posted by Euman <euman at bellsouth.net> Jan 13, 2002
- 430 views
This is a multi-part message in MIME format. ------=_NextPart_000_0033_01C19C8A.E9803D00 charset="iso-8859-1" Threads are not possible in Euphoria *YET... If this is what you have in mind? Euman ----- Original Message ----- From: Mark Brown To: EUforum Sent: Sunday, January 13, 2002 10:28 PM Subject: Wrapping "CreateProcess" Hi everyone, I am trying to wrap the Win32 "CreateProcess" function. I want to launch an application from Eu and get the application's process handle via "CreateProcess". I then want to pass the handle to the Win32 "WaitForInputIdle" function in order to suspend my main process until the child process is ready. So far, my wrapped function doesn't work. Has anyone already wrapped these and used them successfully. Is there another way I can do this? Thanks Mark ------=_NextPart_000_0033_01C19C8A.E9803D00 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.2712.300" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT face=Arial size=2>Threads are not possible in Euphoria *YET...</FONT></DIV> <DIV><FONT face=Arial size=2>If this is what you have in mind?</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>Euman</FONT></DIV> <BLOCKQUOTE dir=ltr style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"> <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV> <DIV style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> <A title=mabrown at SENET.COM.AU href="mailto:mabrown at SENET.COM.AU">Mark Brown</A> </DIV> <DIV style="FONT: 10pt arial"><B>To:</B> <A title=EUforum at topica.com href="mailto:EUforum at topica.com">EUforum</A> </DIV> <DIV style="FONT: 10pt arial"><B>Sent:</B> Sunday, January 13, 2002 10:28 PM</DIV> <DIV style="FONT: 10pt arial"><B>Subject:</B> Wrapping "CreateProcess"</DIV> <DIV><BR></DIV><PRE>============ The Euphoria Mailing List ============ </PRE> <DIV><FONT face=Arial size=2>Hi everyone,</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>I am trying to wrap the Win32 "CreateProcess" function. I want to launch</FONT></DIV> <DIV><FONT face=Arial size=2>an application from Eu and get the application's process handle via </FONT></DIV> <DIV><FONT face=Arial size=2>"CreateProcess". I then want to pass the handle to the Win32</FONT></DIV> <DIV><FONT face=Arial size=2>"WaitForInputIdle" function in order to suspend my main process</FONT></DIV> <DIV><FONT face=Arial size=2>until the child process is ready.</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>So far, my wrapped function doesn't work.</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>Has anyone already wrapped these and used them successfully.</FONT></DIV> <DIV><FONT face=Arial size=2>Is there another way I can do this?</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>Thanks</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>Mark</FONT></DIV><PRE>==^================================================================ This email was sent to: euman at bellsouth.net EASY UNSUBSCRIBE click here: <A href="http://topica.com/u/?b1dd66.b2I0z3">http://topica.com/u/?b1dd66.b2I0z3</A> Or send an email to: EUforum-unsubscribe at topica.com T O P I C A -- Register now to manage your mail! <A href="http://www.topica.com/partner/tag02/register">http://www.topica.com/partner/tag02/register</A> ------=_NextPart_000_0033_01C19C8A.E9803D00--