> FWIW, I get a %_SB_RETURN% of 2 if I comment out the SetLastError and
> zero with the SetLastError() in place.

I have changed this behavior in the latest internal build. The runtime
initialization "clears" the error buffer now.

---
CHANGE : After the internal runtime initialization process, the
last-error value is reset to 0.
---

Friedrich