Click here to Skip to main content
15,888,803 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionNeed to convert CString to std::string Pin
krishnakumartm18-Nov-08 21:40
krishnakumartm18-Nov-08 21:40 
AnswerRe: Need to convert CString to std::string Pin
Cedric Moonen18-Nov-08 21:50
Cedric Moonen18-Nov-08 21:50 
QuestionRe: Need to convert CString to std::string Pin
CPallini18-Nov-08 21:52
mveCPallini18-Nov-08 21:52 
AnswerRe: Need to convert CString to std::string Pin
krishnakumartm19-Nov-08 0:13
krishnakumartm19-Nov-08 0:13 
GeneralRe: Need to convert CString to std::string Pin
CPallini19-Nov-08 0:39
mveCPallini19-Nov-08 0:39 
GeneralRe: Need to convert CString to std::string Pin
toxcct19-Nov-08 1:15
toxcct19-Nov-08 1:15 
GeneralRe: Need to convert CString to std::string Pin
CPallini19-Nov-08 1:45
mveCPallini19-Nov-08 1:45 
GeneralRe: Need to convert CString to std::string Pin
toxcct19-Nov-08 1:56
toxcct19-Nov-08 1:56 
CPallini wrote:
No need to be integralist, my friend


but we are not sheeps, we are thinking human being too, and answering the board also means advising well...
Using CT2A() or CW2A() will potentially loose data if the OP is using "true" wide-characters (those which really need more than 1 byte to be).
Using std::wstring will not though.

BTW, your point about the external lib is true Wink | ;)


GeneralRe: Need to convert CString to std::string Pin
CPallini19-Nov-08 2:17
mveCPallini19-Nov-08 2:17 
JokeRe: Need to convert CString to std::string Pin
toxcct19-Nov-08 2:30
toxcct19-Nov-08 2:30 
Question[Message Deleted] Pin
SeshaSridhar18-Nov-08 20:39
SeshaSridhar18-Nov-08 20:39 
AnswerRe: how to open a .csv file in xml file format in MFC VC++ Pin
Cedric Moonen18-Nov-08 20:53
Cedric Moonen18-Nov-08 20:53 
General[Message Deleted] Pin
SeshaSridhar18-Nov-08 21:04
SeshaSridhar18-Nov-08 21:04 
GeneralRe: how to open a .csv file in xml file format in MFC VC++ Pin
Cedric Moonen18-Nov-08 21:12
Cedric Moonen18-Nov-08 21:12 
GeneralRe: how to open a .csv file in xml file format in MFC VC++ Pin
sashoalm18-Nov-08 21:32
sashoalm18-Nov-08 21:32 
GeneralRe: how to open a .csv file in xml file format in MFC VC++ Pin
Cedric Moonen18-Nov-08 21:44
Cedric Moonen18-Nov-08 21:44 
General[Message Deleted] Pin
SeshaSridhar18-Nov-08 21:54
SeshaSridhar18-Nov-08 21:54 
GeneralRe: how to open a .csv file in xml file format in MFC VC++ Pin
Rajesh R Subramanian18-Nov-08 22:08
professionalRajesh R Subramanian18-Nov-08 22:08 
QuestionRe: how to open a .csv file in xml file format in MFC VC++ Pin
sashoalm19-Nov-08 1:42
sashoalm19-Nov-08 1:42 
GeneralRe: how to open a .csv file in xml file format in MFC VC++ Pin
sashoalm19-Nov-08 0:49
sashoalm19-Nov-08 0:49 
AnswerRe: how to open a .csv file in xml file format in MFC VC++ Pin
David Crow19-Nov-08 3:28
David Crow19-Nov-08 3:28 
Questionwhat is the concept of InitATL()? Pin
puppya18-Nov-08 20:17
puppya18-Nov-08 20:17 
AnswerRe: what is the concept of InitATL()? Pin
CPallini18-Nov-08 21:26
mveCPallini18-Nov-08 21:26 
QuestionRe: what is the concept of InitATL()? Pin
David Crow19-Nov-08 3:30
David Crow19-Nov-08 3:30 
QuestionUNICODE support suggetions required Pin
krishnakumartm18-Nov-08 19:31
krishnakumartm18-Nov-08 19:31 

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.