[Bug 13659] dogfood: xchat-2.8.4-1 does not install (quoting between CreateProcessW and wmain)

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Feb 1 04:33:23 CST 2009


http://bugs.winehq.org/show_bug.cgi?id=13659


Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |focht at gmx.net




--- Comment #3 from Anastasius Focht <focht at gmx.net>  2009-02-01 04:33:22 ---
Hello,

--- quote ---
My memory of creating command-line windows applications was that the
application had to handle any quoted strings. You could try grabbing a windows
cmd.exe, use winecfg to have it take priority, and then test to see if that
works around the problem.
--- quote ---

Correct.
I described the problem in bug 14786 (technically a duplicate of this bug).
In short: Cmd.exe "/C" is a bit special hence C runtime argvW[] can't be used.
You need to use GetCommandLineW and manually apply quoting/dequoting rules.

Regards


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list