Click here to Skip to main content
15,897,360 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralAbout Window update Pin
manish.patel4-Feb-08 21:23
manish.patel4-Feb-08 21:23 
GeneralSave image in database Pin
Paulraj G4-Feb-08 21:15
Paulraj G4-Feb-08 21:15 
Generalcstring to tchar conversion Pin
Francis K Antony4-Feb-08 20:53
Francis K Antony4-Feb-08 20:53 
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 
I'd rather liked it if he had replied to me.

I would not recommend the usage of GetBuffer() method for the sake of copying the string content to another TCHAR* . Your CString object is not integral between the GetBuffer() and ReleaseBuffer() calls. Which means two things: 1. You must never forget to call ReleaseBuffer() after you're done with it. 2. All the member functions on your CString object are *not* guarenteed to work perfectly between the GetBuffer() and ReleaseBuffer() calls.


Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP

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 
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 

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.