Results 1 to 10 of 30

Thread: Call DLL sets WinLastError to 203

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2

    Default Re: Call DLL sets WinLastError to 203

    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
    Attached Images Attached Images    

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •