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

C / C++ / MFC

 
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 
GeneralRe: cstring to tchar conversion Pin
CPallini4-Feb-08 22:18
mveCPallini4-Feb-08 22:18 
Rajesh R Subramanian wrote:
I would not recommend the usage of GetBuffer() method for the sake of copying the string content to another TCHAR* .

I agree.


Rajesh R Subramanian wrote:
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.

In fact he took care about both the issues.

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
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 
GeneralRe: cstring to tchar conversion Pin
CPallini5-Feb-08 20:50
mveCPallini5-Feb-08 20:50 

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.