Enrico Forestieri schreef:
I don't know what to replace. The wchar_t * is in the function declaration in "qstring.h". (or do you want me to modify it there?)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" ?
Vincent