Dimi Paun wrote:
I think it would be better to always use the W APIs. This way we can have tools to warn if we have W->A transitions. We lose a little in readability (a special grep tool anyone?), but we gain a simple rule to follow and enforce, which could be used by various tools, like winapi_check.
I'm sure this has already been proposed (and rejected :) but I'll ask nevertheless: Why not use L"" everywhere and add a small perl/awk/whatever preprocessor which translates into C89 for compilers which don't support wide string literals?
Felix