Indigo Rose Software
  #1  
Old 09-09-2008
jassing's Avatar
jassing jassing is offline
Indigo Rose Customer
 
Join Date: Jan 2001
Location: Anderson Island, WA, USA
Posts: 1,899
Underlaying API Question

What windows api's are the following using:
File.Run()
Shell.Execute()

If Shell.Execute() is passed true for "wait for return" is it looping thru an internal loop until the procid is closed?
__________________
Reply With Quote
  #2  
Old 09-09-2008
Mark's Avatar
Mark Mark is offline
Indigo Rose Staff Member
 
Join Date: Jun 2000
Location: Indigo Rose Software
Posts: 1,773
Hi Josh,

Shell.Execute() uses ShellExecuteEx(), and File.Run() uses CreateProcess().

If you use wait for return, both actions use the MsgWaitForMultipleObjects() SDK call using the handle of the newly created process. Looping until the process has signaled that it is done.

I hope this helps.
__________________
MSI Factory The Next Generation Intelligent Setup Builder
Reply With Quote
  #3  
Old 09-09-2008
jassing's Avatar
jassing jassing is offline
Indigo Rose Customer
 
Join Date: Jan 2001
Location: Anderson Island, WA, USA
Posts: 1,899
Quote:
Originally Posted by Mark View Post
Hi Josh,

Shell.Execute() uses ShellExecuteEx(), and File.Run() uses CreateProcess().

If you use wait for return, both actions use the MsgWaitForMultipleObjects() SDK call using the handle of the newly created process. Looping until the process has signaled that it is done.

I hope this helps.
Thank you -- that's what I was expecting....

-josh
__________________
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
API - Action Plugin Installer -- Beta II [HOT!!!] TimeSurfer AutoPlay Media Studio 7.5 Discussion 7 06-13-2008 03:55 AM
Test Drive Question jrthom1 Setup Factory 7.0 Discussion 3 05-17-2007 02:45 PM
Math.RandomSeed() question stickck AutoPlay Media Studio 6.0 8 06-09-2006 10:42 AM
Question on what it takes to create plug-ins. Corey Developer's Den 1 07-26-2004 09:40 AM
FlashMX vs AMS5 Data Arrays question Martin_SBT AutoPlay Media Studio 5.0 1 01-19-2004 10:05 AM


All times are GMT -6. The time now is 03:14 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software