winebrowser: Fix broken handling of DDE type XTYP_EXECUTE
paulc at voip.null.ro
Fri Sep 4 14:08:57 CDT 2009
On Wednesday 02 September 2009 04:15:22 Peter Dons Tychsen wrote:
> XTYPE_EXECUTE DDE transaction for winebrowser is broken.
> The handler currently expects a MultiByte character input, which is
> The handler is win-unicode, and will always receive such strings.
> The encoding of the string can be seen in WDML_BuildExecuteCommand().
> This fixes programs which use DDE to show a web-link via winebrowser,
> e.g. the "Last Chaos" web-installer:
This has been talked about before and an even safer solution was refused:
Unfortunately there is no equivalent in Windows of what Wine does. Windows
seems to pass around ATOMs as either ANSI (Win 9x, ME) or UCS-2 (NT3x, NT4)
or UTF-16 (2000+) depending on version.
Wine tries to do it at runtime depending on the Windows version it emulates -
and that is per process. ANSI programs actually succeed in starting
winebrowser because they send MBCS to it.
More information about the wine-devel