2.1.25.10 ExecuteApp


Description

launch an application

Syntax

BOOL ExecuteApp( LPCSTR lpApp, LPCSTR lpArg, BOOL bTransferControl = TRUE, BOOL bTryWinExec = FALSE )

Parameters

lpApp
[input] module name
lpArg
[input] Command line.
bTransferControl
[input] if FALSE and if lpApp is not NULL, this function will not return until the application is terminated
bTryWinExec
[input] try the older WinExec function from Windows if the standard method failed.

Return

TRUE if sucess, FALSE if failed

Examples

Remark

See Also

Header to Include

origin.h

Reference