Win32 api function calls always return with a result of 0. Any idea of what could be causing this?
Example:
lpResult = CreateProcess(strProgram, vbNullString, sa, sa, False, NORMAL_PRIORITY_CLASS, ByVal 0&, _
"", sinfo, pinfo)
LaunchResult = GetLastError
The result of this call is as follows:
lpResult = 0
LaunchResult = 0
Any idea of what's going on here?
Example:
lpResult = CreateProcess(strProgram, vbNullString, sa, sa, False, NORMAL_PRIORITY_CLASS, ByVal 0&, _
"", sinfo, pinfo)
LaunchResult = GetLastError
The result of this call is as follows:
lpResult = 0
LaunchResult = 0
Any idea of what's going on here?