Am Mittwoch, den 10.09.2008, 22:12 +0200 schrieb Marcus Meissner:
This approach will not work with -O0, which might be a problem.
If I were to decide, that would kill the patch. I really like to recompile the dlls I am currently debugging with -O0, as that makes following the code flow much easier. Having MultiByteToWideChar calls fail in that case seems to make recompilation of most DLLs (that export A and W functions) with -O0 impossible.
Regards, Michael Karcher