wcmd: Remove user32 dependencies
James Hawkins
truiken at gmail.com
Wed Jun 8 19:26:15 CDT 2005
Hi,
This patch is in responese to Bug #1982 'Can't SSH into a computer and
use "wine cmd" or wineconsole'
http://bugs.winehq.org/show_bug.cgi?id=1982
The problem as identified by Marcus is that wcmd is importing user32
which brings in the x11 driver causing the ssh'ed wcmd to fail:
(~)> wine cmd
x11drv: Can't open display:
I couldn't figure out any other way to get rid of LoadString. It's
pretty essential since we're loading multilingual help strings from
resource files.
Changelog
* Dynamically call LoadString from user32.
* Remove all direct user32 dependencies.
* Don't import user32.
--
James Hawkins
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wcmd-nouser32.diff
Type: text/x-patch
Size: 7339 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050608/69b5d431/wcmd-nouser32.bin
More information about the wine-patches
mailing list