Closed ashie closed 3 years ago
Because Ruby may call Win32 API and reset the error code before a user calls GetLastError(), the user might not be able to correct error code. To avoid it win32-api should store last error code like FFI or Fiddle do it. FYI:
Signed-off-by: Takuro Ashie ashie@clear-code.com
Because Ruby may call Win32 API and reset the error code before a user calls GetLastError(), the user might not be able to correct error code. To avoid it win32-api should store last error code like FFI or Fiddle do it. FYI:
Signed-off-by: Takuro Ashie ashie@clear-code.com