United Devices Client

gerard patel nomailthankyoug.patel at wanadoo.fr
Fri Mar 30 00:34:49 CST 2001


On 29 Mar 2001 14:41:32 -0800, ud510 at vtn1.victoria.tc.ca (Ian S.
White) wrote:

<snip>
>Ret  ole32.144: StgCreateDocfile() retval=80004005 ret=653a88fd fs=008f

Can you  try the following patch on dlls/ole32/storage32.c ?

Gerard

--- storage32.c.orig    Wed Feb 28 06:31:03 2001
+++ storage32.c Fri Mar 30 08:34:07 2001
@@ -5313,6 +5313,9 @@
   accessMode   = GetAccessModeFromSTGM(grfMode);
   creationMode = GetCreationModeFromSTGM(grfMode);
 
+  if (pwcsName == 0)
+    creationMode = TRUNCATE_EXISTING;
+
   if (grfMode & STGM_DELETEONRELEASE)
     fileAttribut 



More information about the wine-users mailing list