Hi Mark,
this seems to be a custom message box. What command did you use to catch the "error code"?
The "Load DLL..." script function only returns the following:
If the function succeeds, the %_SB_ERRORCODE% return value is nonzero.
If the function fails, the return value is zero.
The %_SB_ERRORCODE% value is retrieved from the LoadLibrary Windows API.
Friedrich