- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Hi, dear all,
I encounter a problem when I want to debug the simple_player.
I set the argument at simple_player's property: Debugging->Command Arguments.
It seems that the debugger pass the argument as a char string to the main function, but the main function treats the argument as a wchar_t string. So it can't get the right content from the arguments.
My project's default character set is unicode.
Any suggestion is helpful.
Thanks!
ntiszj
I encounter a problem when I want to debug the simple_player.
I set the argument at simple_player's property: Debugging->Command Arguments.
It seems that the debugger pass the argument as a char string to the main function, but the main function treats the argument as a wchar_t string. So it can't get the right content from the arguments.
My project's default character set is unicode.
Any suggestion is helpful.
Thanks!
ntiszj
Link copiado
1 Responder
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
I found the cause myself.
Reference to here:
http://software.intel.com/en-us/articles/new-msvc-project-files-in-ipp-sample/?wapkw=ALL(simple+player+unicode)
Ying H said:
Reference to here:
http://software.intel.com/en-us/articles/new-msvc-project-files-in-ipp-sample/?wapkw=ALL(simple+player+unicode)
Ying H said:
"In general, _ascii is for 8bit-character and _unicode is for 16bit-characters,like Japanese, Chinese.
In the project's configuration, the non"_ascii" = unicode, it is default setting when produce MSVC project by MSVC wizard"
So just build for debug_ascii, it will be ok.

Responder
Opções do tópico
- Subscrever fonte RSS
- Marcar tópico como novo
- Marcar tópico como lido
- Flutuar este Tópico para o utilizador atual
- Marcador
- Subscrever
- Página amigável para impressora