How to Disable UNICODE in VC++ 2008

Reply

Join Date: Jul 2009
Posts: 1
Reputation: Rodman2009 is an unknown quantity at this point 
Solved Threads: 0
Rodman2009 Rodman2009 is offline Offline
Newbie Poster

Re: build problems

 
0
  #1
Jul 3rd, 2009
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?
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 15,161
Reputation: Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute 
Solved Threads: 1438
Team Colleague
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Most Valuable Poster

Re: How to Disable UNICODE in VC++ 2008

 
0
  #2
Jul 3rd, 2009
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"
Reply With Quote Quick reply to this message  
Join Date: Apr 2008
Posts: 113
Reputation: marco93 is infamous around these parts marco93 is infamous around these parts marco93 is infamous around these parts 
Solved Threads: 12
marco93 marco93 is offline Offline
Junior Poster

Re: How to Disable UNICODE in VC++ 2008

 
0
  #3
Jul 5th, 2009
It has no sense at all to disable UNICODE !!
It's the standard !
Windows itself is UNICODE (see Kernel or User source code..)
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 15,161
Reputation: Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute 
Solved Threads: 1438
Team Colleague
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Most Valuable Poster

Re: How to Disable UNICODE in VC++ 2008

 
0
  #4
Jul 5th, 2009
Originally Posted by marco93 View Post
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.
Last edited by Ancient Dragon; Jul 5th, 2009 at 10:36 am.
Reply With Quote Quick reply to this message  
Join Date: Oct 2006
Posts: 2,753
Reputation: niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute 
Solved Threads: 294
Featured Poster
niek_e's Avatar
niek_e niek_e is offline Offline
Posting Maven

Re: How to Disable UNICODE in VC++ 2008

 
1
  #5
Jul 6th, 2009
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
Last edited by niek_e; Jul 6th, 2009 at 9:30 am.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC