DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   C (http://www.daniweb.com/forums/forum118.html)
-   -   How to Disable UNICODE in VC++ 2008 (http://www.daniweb.com/forums/thread201519.html)

Rodman2009 Jul 3rd, 2009 10:18 am
Re: build problems
 
How did you disable the Unicode, I used the same program and get the same errors, I tried to disable the Unicode by going to the properties of the program, and unticked the inheritance, but I still get the errors?

Ancient Dragon Jul 3rd, 2009 1:57 pm
Re: How to Disable UNICODE in VC++ 2008
 
You didn't mention the compiler you are using, but assuming it is VC++ 2008 (Express)

Select menu item Project --> Properties --> expand Configuration Properties --> General. In the pane on the right, the third item from the bottom, change "Character Set" option to "Not Set"

marco93 Jul 5th, 2009 9:50 am
Re: How to Disable UNICODE in VC++ 2008
 
It has no sense at all to disable UNICODE !!
It's the standard !
Windows itself is UNICODE (see Kernel or User source code..)

Ancient Dragon Jul 5th, 2009 10:28 am
Re: How to Disable UNICODE in VC++ 2008
 
Quote:

Originally Posted by marco93 (Post 908840)
It has no sense at all to disable UNICODE !!
It's the standard !
Windows itself is UNICODE (see Kernel or User source code..)

C++ language has no provisions for UNICODE, and Windows isn't the only os in the world.

Yes, standard ascii strings can be used in UNICODE enabled program, but don't try to pass them to most win32 api functions because it will not work.

niek_e Jul 6th, 2009 9:26 am
Re: How to Disable UNICODE in VC++ 2008
 
And quite frankly, I have found UNICODE to be a pain in the behind, so if I don't have a need for it (which is the case in 99.9% of my programs), I won't use it :)


All times are GMT -4. The time now is 11:52 pm.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC