Hi Markus,
Unfortunately, I don't know why "GetLastError" returns 203 on these
machines.
I have created a small blank script project. The call to "GetLastError"
returns 0 on our test machines (XP, Windows 7 x64, Windows 8.1 x64).
The event log reports the following:
|10/28/2013|03:47:00.262|RunScriptBegin
|10/28/2013|03:47:00.262|Global: Start
|10/28/2013|03:47:00.262|Set Variable %_SB_DISKSPACEREQ% to 0
|10/28/2013|03:47:00.262|Set Variable {IDEPLOY_CLI} to IDEPLOY.CLI
|10/28/2013|03:47:00.262|sbkernel: 8.1.4210 : WinID: 16384 : HTTP_Timeout :
0
|10/28/2013|03:47:00.262|Global: End
|10/28/2013|03:47:00.262|@DISPLAYMESSAGE Ready... :
|10/28/2013|03:47:02.094|Set Variable %_SB_RETURN% to 1
|10/28/2013|03:47:02.094|@CALLDLL kernel32 : GetLastError
|10/28/2013|03:47:02.094|Set Variable %_SB_RETURN% to 0
|10/28/2013|03:47:02.094|@SETVARIABLE (0 : 1 : 1)
|10/28/2013|03:47:02.094|Set Variable %_RESULT% to 0
|10/28/2013|03:47:02.094|@SETVARIABLE (0 : 1 : 1)
|10/28/2013|03:47:02.094|Set Variable %_ERRORCODE% to 0
|10/28/2013|03:47:02.094|@DISPLAYMESSAGE Result: 0\nErrorcode: 0 :
|10/28/2013|03:47:02.917|Set Variable %_SB_RETURN% to 1
|10/28/2013|03:47:02.917|RunScriptEnd
|10/28/2013|03:47:02.917|InitScriptBeforeScriptClose
|10/28/2013|03:47:02.917|InitScriptEnd
As far as I can see (I have checked the source code), the "Call DLL..."
function does not make use of any "environment option".
Friedrich