•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the C++ section within the Software Development category of DaniWeb, a massive community of 456,494 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,692 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C++ advertiser: Programming Forums
Views: 7354 | Replies: 6
![]() |
•
•
Join Date: Aug 2005
Location: near St Louis, Missouri, USA
Posts: 11,541
Reputation:
Rep Power: 40
Solved Threads: 972
UNICODE is the default setting for that compiler so if you didn't turn it off then the compiler is mapping TCHAR into wchar_t. go to Project --> Properties (bottom menu item) --> Configuration Properties --> General then change Character Set option to Not Set. If you really do want UNICODE then you have to use one of the conversion functions to convert wchar_t* to char*
Last edited by Ancient Dragon : Sep 20th, 2007 at 9:41 am.
•
•
Join Date: Aug 2007
Posts: 18
Reputation:
Rep Power: 2
Solved Threads: 0
•
•
•
•
UNICODE is the default setting for that compiler so if you didn't turn it off then the compiler is mapping TCHAR into wchar_t. go to Project --> Properties (bottom menu item) --> Configuration Properties --> General then change Character Set option to Not Set. If you really do want UNICODE then you have to use one of the conversion functions to convert wchar_t* to char*
i want to do in UNICODE only so can u suggest me those conversion functions??
![]() |
•
•
•
•
•
•
•
•
DaniWeb C++ Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- One line of code copy char array using pointers (C++)
- Scan File for Comments (C++)
- TCHAR to std::string (C)
- Comparing two letters in one string with another char string? (C)
- first cannot conver std::string to const char, now runtime error! (C++)
- How to find End of file (C++)
- converting std::string to const chars? (C++)
- How to assign my own numeric values to a char array? (C++)
- two-dimensional char array (Java)
Other Threads in the C++ Forum
- Previous Thread: help with list view
- Next Thread: Terminal size



Linear Mode