Hi Carlo,
carlo.bramix wrote:
In that recent change, the hybrid support for both ASCII and
UNICODE support into task manager has been dropped.
Such a hybrid support already did not exist *for Task-Manager* before.
If you tried to just remove the UNICODE definitions from the .rbuild file,
it still did not build.
The Task-Manager makes use of some functions defined in the NDK headers and
these native functions are only available for Unicode. One of the NDK
headers also defines UNICODE, so you would need to override this explicitly
in the code and not just in the .rbuild file.
Furthermore you would need WideCharToMultiByte to convert the Unicode values
to ANSI, which could lead to data corruption if the Unicode characters are
not available for the current ANSI codepage.
This is why we decided to drop the Unicode "support" for Task-Manager
completely.
To make this obvious, I also changed the code, so it doesn't use TCHAR's and
"tchar.h" anymore.
Technically, it isn't a problem for me to make
things working
on win9x, since I just need to link to UNICOWS.DLL and the
problem is almost solved.
But this would not work for Task-Manager as the used functions defined in
the NDK are not available under Win9x.
As said, this decision was just done for Task-Manager.
In general, I also try to make applications compilable with both Unicode
turned on and off.
Regards,
Colin