Click here to Skip to main content
15,898,035 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
General[Message Deleted] Pin
Paulraj G4-Feb-08 21:08
Paulraj G4-Feb-08 21:08 
GeneralRe: cstring to tchar conversion Pin
Cedric Moonen4-Feb-08 21:11
Cedric Moonen4-Feb-08 21:11 
GeneralRe: cstring to tchar conversion Pin
Rajesh R Subramanian4-Feb-08 21:26
professionalRajesh R Subramanian4-Feb-08 21:26 
GeneralRe: cstring to tchar conversion Pin
Rajkumar R4-Feb-08 21:53
Rajkumar R4-Feb-08 21:53 
GeneralRe: cstring to tchar conversion Pin
Rajesh R Subramanian4-Feb-08 22:08
professionalRajesh R Subramanian4-Feb-08 22:08 
GeneralRe: cstring to tchar conversion Pin
CPallini4-Feb-08 22:18
mveCPallini4-Feb-08 22:18 
GeneralRe: cstring to tchar conversion Pin
Rajesh R Subramanian4-Feb-08 22:25
professionalRajesh R Subramanian4-Feb-08 22:25 
GeneralRe: cstring to tchar conversion Pin
CPallini4-Feb-08 22:36
mveCPallini4-Feb-08 22:36 
Rajesh R Subramanian wrote:
And you agreed GetBuffer() isn't the best way around to do it


In fact it is the only way if you really need a pointer to the string buffer (i.e. whenever CString LPCTSTR cast operator isn't a viable option) though I agree, usually asking for a pointer to editable CString buffer is not a good idea.
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.

[my articles]


GeneralRe: cstring to tchar conversion Pin
Rajkumar R4-Feb-08 23:11
Rajkumar R4-Feb-08 23:11 
GeneralRe: cstring to tchar conversion Pin
Rajesh R Subramanian4-Feb-08 23:19
professionalRajesh R Subramanian4-Feb-08 23:19 
GeneralRe: cstring to tchar conversion Pin
Rajkumar R5-Feb-08 7:00
Rajkumar R5-Feb-08 7:00 
GeneralRe: cstring to tchar conversion Pin
Rajesh R Subramanian5-Feb-08 19:54
professionalRajesh R Subramanian5-Feb-08 19:54 
GeneralRe: cstring to tchar conversion Pin
Rajkumar R5-Feb-08 20:40
Rajkumar R5-Feb-08 20:40 
GeneralRe: cstring to tchar conversion Pin
Rajesh R Subramanian5-Feb-08 21:14
professionalRajesh R Subramanian5-Feb-08 21:14 
GeneralRe: cstring to tchar conversion Pin
CPallini4-Feb-08 22:15
mveCPallini4-Feb-08 22:15 
GeneralRe: cstring to tchar conversion Pin
Rajkumar R4-Feb-08 23:07
Rajkumar R4-Feb-08 23:07 
GeneralRe: cstring to tchar conversion Pin
CPallini4-Feb-08 23:19
mveCPallini4-Feb-08 23:19 
GeneralRe: cstring to tchar conversion Pin
Rajkumar R4-Feb-08 23:23
Rajkumar R4-Feb-08 23:23 
JokeRe: cstring to tchar conversion Pin
CPallini5-Feb-08 0:00
mveCPallini5-Feb-08 0:00 
GeneralRe: cstring to tchar conversion Pin
Rajkumar R5-Feb-08 0:06
Rajkumar R5-Feb-08 0:06 
GeneralRe: cstring to tchar conversion Pin
CPallini5-Feb-08 0:18
mveCPallini5-Feb-08 0:18 
JokeRe: cstring to tchar conversion Pin
Rajkumar R5-Feb-08 18:39
Rajkumar R5-Feb-08 18:39 
GeneralRe: cstring to tchar conversion Pin
CPallini5-Feb-08 20:50
mveCPallini5-Feb-08 20:50 
AnswerRe: cstring to tchar conversion Pin
Rajkumar R4-Feb-08 21:08
Rajkumar R4-Feb-08 21:08 
GeneralRe: cstring to tchar conversion Pin
Francis K Antony4-Feb-08 23:11
Francis K Antony4-Feb-08 23:11 

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.