|
How To Launch BTSuperPak
Programs
|
|
| eVC++ Example: |
//Launch the program //Wait for it to complete else //Close process
|
| eVB Example: |
Public Function RunShell(cmdline As String, cmdLineArgs As String) As Long Dim hProcess As Long vntReturn = ShellEx(cmdline, cmdLineArgs) If vntReturn(0) = 0 Then hProcess = OpenProcess(PROCESS_QUERY_INFORMATION, False, ProcessId) Do Loop While exitCode = STATUS_PENDING Call
CloseHandle(hProcess) RunShell = vntReturn(0) End Function |