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

Jeff Latimer lats at yless4u.com.au
Wed Jan 14 04:07:51 CST 2009


Hans Leidekker wrote:
> 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.
>
>  -Hans
The problem is complicated by the data type of LPBYTE.  The application 
does not pass the type of the data to the client.  I am at a loss as to 
how DDE actually determines the type at the client side.

Jeff



More information about the wine-devel mailing list