Indicates whether a program started by the
WinExec function is still
running.
Function |
Group |
Execution |
Windows |
Embedded |
Thin Client |
WinExecIsRunning
|
Module
Activity |
Synchronous |
Supported |
Supported |
Supported |
Syntax
WinExecIsrunning( numHandle, "optTagReturn" )
- numHandle
- Handle number stored in the tag in the optStrReturnorHandle parameter of the
WinExec function.
- "optTagReturn"
- Tag that receives the code returned by the program
executed by the WinExec
function.
Returned value
0 |
Successful execution. |
-1 |
Invalid
parameter(s). |
-2 |
Failed to
open file. Disk is write protected or file name is invalid. |
Examples
Tag Name |
Expression |
Tag |
WinExecIsRunning( numHandle )
|
Tag |
WinExecIsRunning( numHandle, "return"
)
|