Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I run an API command with LotusScript

Status
Not open for further replies.

Jarrett

Programmer
Mar 22, 1999
2
0
0
US
I'm trying to call the CreateProcess API in an<br>
agent with LotusScript. The command does not<br>
execute. I mirrored the command from some sample code of a VB help file. I think the problem is that VB's constant vbNullString is not handled the same as LotusScript's empty string "". The exact command I'm using is:<br>
<br>
sinfo.cb = Len(sinfo)<br>
res = CreateProcess("c:\setup", "", 0, 0, True, 7, ByVal 0&, "", sinfo, pinfo)<br>
<br>
sinfo and pinfo are defined as STARTUPINFO and PROCESS_INFORMATION respectfully.<br>
<br>
Any help would be GREATLY appreciated...<br>
<br>

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top