Click here to Skip to main content
15,901,426 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Memory allocation Pin
sashoalm12-Aug-08 4:48
sashoalm12-Aug-08 4:48 
AnswerRe: Memory allocation Pin
Bram van Kampen12-Aug-08 9:03
Bram van Kampen12-Aug-08 9:03 
QuestionC++: How to declare constant array of pointers of TCHAR Pin
akirilov12-Aug-08 3:46
akirilov12-Aug-08 3:46 
AnswerRe: C++: How to declare constant array of pointers of TCHAR Pin
toxcct12-Aug-08 3:56
toxcct12-Aug-08 3:56 
GeneralRe: C++: How to declare constant array of pointers of TCHAR Pin
akirilov12-Aug-08 4:27
akirilov12-Aug-08 4:27 
GeneralRe: C++: How to declare constant array of pointers of TCHAR Pin
toxcct12-Aug-08 4:38
toxcct12-Aug-08 4:38 
GeneralRe: C++: How to declare constant array of pointers of TCHAR Pin
akirilov12-Aug-08 5:08
akirilov12-Aug-08 5:08 
GeneralRe: C++: How to declare constant array of pointers of TCHAR Pin
toxcct12-Aug-08 5:12
toxcct12-Aug-08 5:12 
It is not a question of "one is better than the other".

you MUST use _T() with TCHAR and L with WCHAR.

the point that UNICODE is defined is not for "WM" at all. it is defined in your project settings, and some might want to build a non unicode version.
if your code is well written then, only switching the parameter in the project settings will do. otherwise, you'd have to change every line of code using L to remove it, so that the ANSI build can perform successfully.

so be independant of that, and use _T() Wink | ;)


GeneralRe: C++: How to declare constant array of pointers of TCHAR Pin
David Crow12-Aug-08 5:30
David Crow12-Aug-08 5:30 
QuestionAppilication hang during DB down Pin
krishnan.s12-Aug-08 3:32
krishnan.s12-Aug-08 3:32 
QuestionSemi-transparent drawing Pin
Nuri Ismail12-Aug-08 3:28
Nuri Ismail12-Aug-08 3:28 
AnswerRe: Semi-transparent drawing Pin
Mark Salsbery12-Aug-08 4:41
Mark Salsbery12-Aug-08 4:41 
GeneralRe: Semi-transparent drawing Pin
Nuri Ismail12-Aug-08 4:49
Nuri Ismail12-Aug-08 4:49 
AnswerRe: Semi-transparent drawing Pin
vikas amin12-Aug-08 5:00
vikas amin12-Aug-08 5:00 
QuestionWSAStartup generates unhandled exception Pin
jimjim73312-Aug-08 2:51
jimjim73312-Aug-08 2:51 
AnswerRe: WSAStartup generates unhandled exception Pin
Jijo.Raj12-Aug-08 3:14
Jijo.Raj12-Aug-08 3:14 
AnswerRe: WSAStartup generates unhandled exception Pin
David Crow12-Aug-08 3:58
David Crow12-Aug-08 3:58 
GeneralRe: WSAStartup generates unhandled exception Pin
jimjim73312-Aug-08 4:07
jimjim73312-Aug-08 4:07 
QuestionRe: WSAStartup generates unhandled exception Pin
Mark Salsbery12-Aug-08 4:51
Mark Salsbery12-Aug-08 4:51 
QuestionRe: WSAStartup generates unhandled exception Pin
jimjim73312-Aug-08 4:59
jimjim73312-Aug-08 4:59 
AnswerRe: WSAStartup generates unhandled exception Pin
Mark Salsbery12-Aug-08 5:11
Mark Salsbery12-Aug-08 5:11 
GeneralRe: WSAStartup generates unhandled exception Pin
jimjim73312-Aug-08 5:25
jimjim73312-Aug-08 5:25 
GeneralRe: WSAStartup generates unhandled exception Pin
Mark Salsbery12-Aug-08 5:36
Mark Salsbery12-Aug-08 5:36 
GeneralRe: WSAStartup generates unhandled exception Pin
jimjim73312-Aug-08 5:44
jimjim73312-Aug-08 5:44 
GeneralRe: WSAStartup generates unhandled exception Pin
Mark Salsbery12-Aug-08 6:09
Mark Salsbery12-Aug-08 6:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.