[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Switch the Windows port to using Unicode keyboard input
From: |
Eugen Anghel |
Subject: |
Re: Switch the Windows port to using Unicode keyboard input |
Date: |
Sun, 4 Oct 2009 20:41:53 +0300 |
2009/10/4 Jason Rumney <address@hidden>:
> Lennart Borgman wrote:
>>
>> Isn't it possible to keep the old code and check whether to use it or
>> not in the binary?
>>
>
> It may be, but changing the window class in a backwards compatible way is
> not as straightforward as the other function calls where we have done that.
> I suspect that a better approach would be to fix all the locations where
> system calls are used to cope with both _UNICODE and non _UNICODE builds,
> and use the non-specific system functions throughout.
>
Is having two separate binaries, one for 9x/Me and one for XP/Vista an
option? because I agree, that would simplify some things.
As for loading the functions at runtime, I've attached a patch that
should work on both 9x and XP/Vista. While kind of ugly, it's
definitely a possibility.
patch.patch
Description: Binary data
Re: Switch the Windows port to using Unicode keyboard input, Eugen Anghel, 2009/10/04