Click here to Skip to main content
15,916,463 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: static_cast' : cannot convert from 'class CString' to 'const char *const ' Pin
CPallini19-Dec-06 23:23
mveCPallini19-Dec-06 23:23 
GeneralRe: static_cast' : cannot convert from 'class CString' to 'const char *const ' Pin
toxcct20-Dec-06 0:31
toxcct20-Dec-06 0:31 
GeneralRe: static_cast' : cannot convert from 'class CString' to 'const char *const ' Pin
CPallini20-Dec-06 0:41
mveCPallini20-Dec-06 0:41 
GeneralRe: static_cast' : cannot convert from 'class CString' to 'const char *const ' Pin
S Douglas20-Dec-06 0:51
professionalS Douglas20-Dec-06 0:51 
GeneralOK, I fixed it. Pin
CPallini20-Dec-06 0:59
mveCPallini20-Dec-06 0:59 
GeneralRe: OK, I fixed it. Pin
S Douglas20-Dec-06 1:02
professionalS Douglas20-Dec-06 1:02 
GeneralRe: static_cast' : cannot convert from 'class CString' to 'const char *const ' Pin
toxcct20-Dec-06 0:58
toxcct20-Dec-06 0:58 
GeneralRe: static_cast' : cannot convert from 'class CString' to 'const char *const ' Pin
CPallini20-Dec-06 1:06
mveCPallini20-Dec-06 1:06 
toxcct wrote:
then, it's worse, because if unicode is not defined, CString is still contained of TCHAR, which equates to char, not wchar_t.


And the compiler will camplain about. The world will not end. Big Grin | :-D

toxcct wrote:
you should never make assertions such like UNICODE exists or not. if you use TCHARs, then use them for all. otherwise, use (LPCWSTR) instead


I can't agree with this...But, I think, it's a matter of taste. Smile | :)


Again, Can you please tell me about T2WC? Confused | :confused:






If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

QuestionRe: static_cast' : cannot convert from 'class CString' to 'const char *const ' Pin
David Crow20-Dec-06 2:32
David Crow20-Dec-06 2:32 
QuestionDeleting an item from list box using API Pin
Suresh H19-Dec-06 20:46
Suresh H19-Dec-06 20:46 
AnswerRe: Deleting an item from list box using API Pin
Mila02519-Dec-06 21:11
Mila02519-Dec-06 21:11 
GeneralRe: Deleting an item from list box using API Pin
Suresh H19-Dec-06 21:50
Suresh H19-Dec-06 21:50 
AnswerRe: Deleting an item from list box using API Pin
CPallini19-Dec-06 21:16
mveCPallini19-Dec-06 21:16 
GeneralRe: Deleting an item from list box using API Pin
Suresh H19-Dec-06 21:48
Suresh H19-Dec-06 21:48 
GeneralRe: Deleting an item from list box using API Pin
CPallini19-Dec-06 22:38
mveCPallini19-Dec-06 22:38 
GeneralRe: Deleting an item from list box using API Pin
Suresh H19-Dec-06 22:47
Suresh H19-Dec-06 22:47 
Questionunhandled exeption in a.exe(apiocx):0xc0000005 Access Violation Pin
With_problem19-Dec-06 20:04
With_problem19-Dec-06 20:04 
QuestionRe: unhandled exeption in a.exe(apiocx):0xc0000005 Access Violation Pin
prasad_som19-Dec-06 20:13
prasad_som19-Dec-06 20:13 
AnswerRe: unhandled exeption in a.exe(apiocx):0xc0000005 Access Violation Pin
With_problem19-Dec-06 20:16
With_problem19-Dec-06 20:16 
GeneralRe: unhandled exeption in a.exe(apiocx):0xc0000005 Access Violation Pin
prasad_som19-Dec-06 20:21
prasad_som19-Dec-06 20:21 
GeneralRe: unhandled exeption in a.exe(apiocx):0xc0000005 Access Violation Pin
With_problem19-Dec-06 23:33
With_problem19-Dec-06 23:33 
GeneralRe: unhandled exeption in a.exe(apiocx):0xc0000005 Access Violation Pin
S Douglas20-Dec-06 0:10
professionalS Douglas20-Dec-06 0:10 
AnswerRe: unhandled exeption in a.exe(apiocx):0xc0000005 Access Violation Pin
With_problem19-Dec-06 20:18
With_problem19-Dec-06 20:18 
AnswerRe: unhandled exeption in a.exe(apiocx):0xc0000005 Access Violation Pin
With_problem4-Jan-07 20:51
With_problem4-Jan-07 20:51 
GeneralRe: unhandled exeption in a.exe(apiocx):0xc0000005 Access Violation Pin
prasad_som4-Jan-07 21:22
prasad_som4-Jan-07 21:22 

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.