Stai compilando con Visual C++ ? Hai impostato l'Unicode per le stringhe?