On Mon, Feb 22, 2010 at 11:17:02PM +0100, Vincent van Ravesteijn wrote: > Compiling with: "/Zc:wchar_t-" solves it for me. > > In MSVC this is called "Treat wchar_t as Built-in Type : No". This is by > default set to Yes.
D'oh! And does it work without that option if you replace "wchar_t *" with "LPCWSTR" ? -- Enrico