slt, comment je peux convertir un CString en char*?j'ai essay� cela mai ca n'a pas march�. Je travaille sous VC++ avec les MFC.
Code : S�lectionner tout - Visualiser dans une fen�tre � part
1
2
3
4
5 CString str; m_adresse_ip.GetWindowTextW(str); const char *ip_adress; ip_adress=(char*)LPCTSTR(str);//ip_adress=str.GetBuffer()
Merci de me r�pondre.
Partager