wcmd: Remove user32 dependencies
truiken at gmail.com
Wed Jun 8 19:26:15 CDT 2005
This patch is in responese to Bug #1982 'Can't SSH into a computer and
use "wine cmd" or wineconsole'
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
* Dynamically call LoadString from user32.
* Remove all direct user32 dependencies.
* Don't import user32.
-------------- next part --------------
A non-text attachment was scrubbed...
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