Click here to Skip to main content
15,881,424 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: XP/Vista Styles Pin
Code-o-mat21-Mar-09 11:27
Code-o-mat21-Mar-09 11:27 
GeneralRe: XP/Vista Styles Pin
The_Judgement21-Mar-09 12:41
The_Judgement21-Mar-09 12:41 
GeneralRe: XP/Vista Styles Pin
Code-o-mat21-Mar-09 23:04
Code-o-mat21-Mar-09 23:04 
GeneralRe: XP/Vista Styles [modified] Pin
The_Judgement22-Mar-09 11:28
The_Judgement22-Mar-09 11:28 
QuestionUnicode.. Pin
p_196021-Mar-09 7:36
p_196021-Mar-09 7:36 
AnswerRe: Unicode.. Pin
CPallini21-Mar-09 7:48
mveCPallini21-Mar-09 7:48 
AnswerRe: Unicode.. Pin
Jörgen Sigvardsson21-Mar-09 22:43
Jörgen Sigvardsson21-Mar-09 22:43 
Questionconvert Pin
durban221-Mar-09 5:07
durban221-Mar-09 5:07 
MFC, STUDIO 2008,
Project use UNICODE
CString m_sTest;
m_sTest = L"Байкал";
char *m_pchar3;
m_pchar3 = new char[70];
How todo m_sTest into m_pchar3?
//- m_pchar3=m_sTest; // error C2440: '=' : cannot convert from 'CString' to 'char *'
//- strcpy(m_pchar3, m_sTest); // error C2664: 'strcpy' : cannot convert parameter 2 from 'CString' to 'const char *'
//- strcpy(m_pchar3, (TCHAR)m_sTest); // error C2440: 'type cast' : cannot convert from 'CString' to 'TCHAR'
//- _tcscpy( m_pchar3, (TCHAR*)(LPCTSTR)m_sTest ); // error C2664: 'wcscpy' : cannot convert parameter 1 from 'char *' to 'wchar_t *'
QuestionRe: convert Pin
CPallini21-Mar-09 5:13
mveCPallini21-Mar-09 5:13 
AnswerRe: convert Pin
Dominik Reichl21-Mar-09 5:14
Dominik Reichl21-Mar-09 5:14 
AnswerRe: convert Pin
Akt_4_U21-Mar-09 5:52
Akt_4_U21-Mar-09 5:52 
AnswerRe: convert Pin
Eytukan21-Mar-09 22:02
Eytukan21-Mar-09 22:02 
Questionhow to write list control data in text file in MFC Pin
amit14aug21-Mar-09 4:38
amit14aug21-Mar-09 4:38 
AnswerRe: how to write list control data in text file in MFC Pin
Rajesh R Subramanian21-Mar-09 4:41
professionalRajesh R Subramanian21-Mar-09 4:41 
Questionpointer-to-array Pin
korte2521-Mar-09 3:49
korte2521-Mar-09 3:49 
AnswerRe: pointer-to-array Pin
CPallini21-Mar-09 4:09
mveCPallini21-Mar-09 4:09 
GeneralRe: pointer-to-array Pin
korte2521-Mar-09 6:09
korte2521-Mar-09 6:09 
GeneralRe: pointer-to-array Pin
CPallini21-Mar-09 6:25
mveCPallini21-Mar-09 6:25 
GeneralRe: pointer-to-array Pin
korte2521-Mar-09 6:57
korte2521-Mar-09 6:57 
GeneralRe: pointer-to-array Pin
CPallini21-Mar-09 7:41
mveCPallini21-Mar-09 7:41 
GeneralRe: pointer-to-array Pin
korte2521-Mar-09 7:44
korte2521-Mar-09 7:44 
GeneralRe: pointer-to-array Pin
CPallini21-Mar-09 7:48
mveCPallini21-Mar-09 7:48 
AnswerRe: pointer-to-array Pin
Stuart Dootson21-Mar-09 12:29
professionalStuart Dootson21-Mar-09 12:29 
GeneralRe: pointer-to-array Pin
korte2522-Mar-09 2:30
korte2522-Mar-09 2:30 
QuestionCreateDirectoryW() Pin
p_196021-Mar-09 3:47
p_196021-Mar-09 3:47 

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.