0
0

Hi!all,

In my application,I get a “widechar” string(UNICODE format)of the install path from the Registry,and then append a file name through wcscat(),but the FMUSIC_LoadSong(const char *) can not recognize the widechar string(the message show:[b:dnuie5ou]’FMUSIC_LoadSong’ : cannot convert parameter 1 from ‘unsigned short [128]’ to ‘const char *'[/b:dnuie5ou]),but ANSI string only!How can I convert the widechar file name to the ANSI?

  • You must to post comments
0
0

Thanks!I got it form the example:FMODCE in FMod examples! 😀

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.