Hello, Reinhard Pagitsch wrote:
Hello,
I have an other problem: I pass a file name to my XS code which have to be of type wchar_t *.
I got it. I only passed wrong parameters to MultiByteToWideChar. If I use
MultiByteToWideChar(CP_ACP, 0, File, -1, m_File, (sizeof(m_File)/sizeof(WCHAR)));
than it works. (I found this in a Win32 Perl Module.)
Thank you, Reinhard