Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
6704 Discussions

A problem about simple_player's Command Arguments

gzntiszj
Beginner
478 Views
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
0 Kudos
1 Reply
gzntiszj
Beginner
478 Views
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:

"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.

0 Kudos
Reply