Click here to Skip to main content
15,919,358 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CString problem Pin
trioum22-May-08 20:51
trioum22-May-08 20:51 
GeneralRe: CString problem Pin
Cedric Moonen22-May-08 21:08
Cedric Moonen22-May-08 21:08 
GeneralRe: CString problem Pin
Rajesh R Subramanian22-May-08 21:24
professionalRajesh R Subramanian22-May-08 21:24 
GeneralRe: CString problem Pin
toxcct22-May-08 23:46
toxcct22-May-08 23:46 
GeneralRe: CString problem Pin
Rajesh R Subramanian23-May-08 0:35
professionalRajesh R Subramanian23-May-08 0:35 
GeneralRe: CString problem Pin
Rajesh R Subramanian29-Jul-08 21:18
professionalRajesh R Subramanian29-Jul-08 21:18 
GeneralRe: CString problem Pin
toxcct29-Jul-08 21:22
toxcct29-Jul-08 21:22 
GeneralRe: CString problem Pin
CPallini22-May-08 21:28
mveCPallini22-May-08 21:28 
Well the above is not completely correct: since, as you pointed out, CString has the LPCTSTR operator, (when _UNICODE is not defined) you may cast it to a const char * pointer. If the OP really needs a char * then he has to do more (not excluding the Mark's favourite, (in)famous, CString::GetBuffer)
Smile | :)

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.

This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke


GeneralRe: CString problem Pin
Cedric Moonen22-May-08 21:42
Cedric Moonen22-May-08 21:42 
GeneralAlways mocking me! Pin
CPallini22-May-08 22:07
mveCPallini22-May-08 22:07 
AnswerRe: CString problem Pin
ShilpiP22-May-08 20:39
ShilpiP22-May-08 20:39 
GeneralRe: CString problem Pin
ShilpiP22-May-08 20:57
ShilpiP22-May-08 20:57 
GeneralRe: CString problem Pin
Rajkumar R22-May-08 21:05
Rajkumar R22-May-08 21:05 
GeneralRe: CString problem Pin
ShilpiP22-May-08 21:18
ShilpiP22-May-08 21:18 
GeneralRe: CString problem [modified] Pin
Rajkumar R22-May-08 21:23
Rajkumar R22-May-08 21:23 
GeneralRe: CString problem Pin
ShilpiP22-May-08 21:34
ShilpiP22-May-08 21:34 
GeneralRe: CString problem Pin
Rajkumar R22-May-08 21:39
Rajkumar R22-May-08 21:39 
JokeRe: gr8 Pin
Ashutosh Shashi22-May-08 22:39
Ashutosh Shashi22-May-08 22:39 
GeneralRe: gr8 Pin
ShilpiP22-May-08 22:53
ShilpiP22-May-08 22:53 
JokeRe: gr8 Pin
Ashutosh Shashi22-May-08 23:09
Ashutosh Shashi22-May-08 23:09 
GeneralRe: gr8 Pin
toxcct22-May-08 23:19
toxcct22-May-08 23:19 
GeneralRe: gr8 Pin
Ashutosh Shashi22-May-08 23:38
Ashutosh Shashi22-May-08 23:38 
GeneralRe: gr8 Pin
toxcct22-May-08 23:45
toxcct22-May-08 23:45 
GeneralRe: gr8 Pin
Ashutosh Shashi22-May-08 23:52
Ashutosh Shashi22-May-08 23:52 
GeneralRe: gr8 Pin
Ashutosh Shashi22-May-08 23:55
Ashutosh Shashi22-May-08 23:55 

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.