[PATCH 4/6] CMD.EXE: Convert cmd into unicode

Detlef Riekenberg wine.dev at web.de
Sat May 26 12:51:43 CDT 2007

On Di, 2007-05-08 at 00:11 +0100, Jason Edmeades wrote:
> Apologies for the size of this patch - I tried 3 or 4 ways of converting
> chunks to unicode and always ended up duplicating huge bits of code and
> having problems keeping track of duplicated variables that in the end I
> did the lot in one go.

You need TCHAR and friends to reduce the Patch-Size
(char => TCHAR when you did char => WCHAR)

And do not forget "* sizeof(TCHAR)" when calculating the required size
for allocations (HeapAlloc)

By by ... Detlef

More information about the wine-devel mailing list