WinWorkstation.st
changeset 3582 23317278a1d1
parent 3574 db1360ba8dea
child 3583 85cacfd02787
--- a/WinWorkstation.st	Sat Dec 08 14:29:46 2001 +0100
+++ b/WinWorkstation.st	Mon Dec 10 18:22:48 2001 +0100
@@ -12567,13 +12567,15 @@
 	if (blocking == true) {
 	    __rslt = GetSaveFileName(&ofn);
 	} else {
-	    __rslt = __STX_API_CALL1( (void *)GetSaveFileName, (void *)(&ofn));
+	    __threadErrno = 0;
+	    __rslt = __STX_API_CALL1( "GetSaveFileName", (void *)GetSaveFileName, (void *)(&ofn));
 	}
     } else {
 	if (blocking == true) {
 	    __rslt = GetOpenFileName(&ofn);
 	} else {
-	    __rslt = __STX_API_CALL1( (void *)GetOpenFileName, (void *)(&ofn));
+	    __threadErrno = 0;
+	    __rslt = __STX_API_CALL1( "GetOpenFileName", (void *)GetOpenFileName, (void *)(&ofn));
 	}
     }
 
@@ -12730,7 +12732,9 @@
 		   __title,
 		   boxFlags);
     } else {
-	__answer = __STX_API_CALL4( (void *)MessageBox,
+	__threadErrno = 0;
+	__answer = __STX_API_CALL4( "MessageBox",
+				    (void *)MessageBox,
 				    (void *)hWndOwner, 
 				    (void *)__text,
 				    (void *)__title,
@@ -14724,6 +14728,6 @@
 !WinWorkstation class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libview/WinWorkstation.st,v 1.215 2001-12-07 10:03:03 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libview/WinWorkstation.st,v 1.216 2001-12-10 17:22:48 cg Exp $'
 ! !
 WinWorkstation initialize!