"Martin Fuchs" martin-fuchs@gmx.net wrote:
Come on - is this really that difficult? ;-) And as you see, I will maintain it for you.
The problem is not whether you are maintaining it or not. It's about a programming practices in Wine for internal Win32 code. Using TCHAR buys you nothing. That's not you really want to maintain. Why do you need to hide real API names and types?
That approach leads you for instance to the following buggy code: reactos/lib/user32/windows/messagebox.c. A developer who has ported Wine code simply does not see a difference between A and W kind of APIs and types and uses type casts to hide compiler warnings. That code is terribly broken, but it's very hard to find.