winefile problem with ShellExecuteEx()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

here is the patch to correct the problem.
There have been missing a view initializations of struct SHELLEXECUTEINFO.

This fixes only the crash, which was caused by Winefile.
It does not complete the ShellExecuteEx() implementation.

-- 
Martin Fuchs
martin-fuchs@xxxxxxx
Index: winefile.c
===================================================================
RCS file: /home/wine/wine/programs/winefile/winefile.c,v
retrieving revision 1.13
diff -u -r1.13 winefile.c
--- winefile.c	28 Aug 2003 19:40:51 -0000	1.13
+++ winefile.c	11 Dec 2003 21:54:20 -0000
@@ -3066,6 +3066,10 @@
 		shexinfo.cbSize = sizeof(SHELLEXECUTEINFO);
 		shexinfo.fMask = SEE_MASK_IDLIST;
 		shexinfo.hwnd = hwnd;
+		shexinfo.lpVerb = NULL;
+		shexinfo.lpFile = NULL;
+		shexinfo.lpParameters = NULL;
+		shexinfo.lpDirectory = NULL;
 		shexinfo.nShow = nCmdShow;
 		shexinfo.lpIDList = get_to_absolute_pidl(entry, hwnd);
 

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux