[PATCH 2/3] shell32: Fix execute_from_key to conform to native behavior.

Misha Koshelev mk144210 at bcm.edu
Fri May 25 00:40:41 CDT 2007


Currently execute_from_key (and hence ShellExecute/ShellExecuteEx) are broken in terms of trying to
always execute "command filename" even if ddeexec keys exist. This is a problem for apps like Vector NTI 
that just happily ignore filenames on the command line (and in fact fail to start at all when invoked in
this way), but accept DDE filenames fine and dandy. This patch obviously fixes this and conforms to
the conformance test which I tested on XP.
---
 dlls/shell32/shlexec.c       |   67 ++++++++++++++++-------------------------
 dlls/shell32/tests/shlexec.c |   12 ++++----
 2 files changed, 32 insertions(+), 47 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: e6a8580d8bb10dc16597c9b66b27d5f2c729151c.diff
Type: text/x-patch
Size: 5637 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070525/a14a7321/e6a8580d8bb10dc16597c9b66b27d5f2c729151c.bin


More information about the wine-patches mailing list