[3/5] user32: Resend: Move character conversion logic to dde_server.d & remove todo's

Hans Leidekker hans at codeweavers.com
Wed Jan 14 03:53:23 CST 2009

On Wednesday 14 January 2009 08:29:33 Jeff Latimer wrote:

> I have tested this a number of ways and I can not see a mechanism that 
> DDE can determine whether data passed is UNICODE (pData is of type 
> LPBYTE).  In my tests, the case  of the server uses a UNICODE window it 
> is immaterial as to the type of window the client uses but is dependent 
> on the type of data passed.

This has been discussed before, we cannot rely on IsTextUnicode since
it's just a heuristic. MSDN mentions that the character set depends on
whether the client called DdeInitializeA or DdeInitializeW, and it can
be overridden by setting iCodePage in the CONVCONTEXT structure.

This suggests to me that we'll need some form of IPC.


More information about the wine-devel mailing list