- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page