Click here to Skip to main content
15,912,400 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: splitter window (very urgent.......) Pin
CPallini28-Jan-09 0:16
mveCPallini28-Jan-09 0:16 
GeneralRe: splitter window (very urgent.......) Pin
Hamid_RT28-Jan-09 3:18
Hamid_RT28-Jan-09 3:18 
AnswerRe: splitter window (very urgent.......) Pin
Md Saleem Navalur28-Jan-09 0:19
Md Saleem Navalur28-Jan-09 0:19 
GeneralRe: splitter window (very urgent.......) Pin
AnithaSubramani28-Jan-09 0:23
AnithaSubramani28-Jan-09 0:23 
GeneralRe: splitter window (very urgent.......) Pin
Md Saleem Navalur28-Jan-09 0:25
Md Saleem Navalur28-Jan-09 0:25 
QuestionRe: splitter window (very urgent.......) Pin
led mike28-Jan-09 4:11
led mike28-Jan-09 4:11 
QuestionCString to char * conversion? Pin
sam_psycho27-Jan-09 23:02
sam_psycho27-Jan-09 23:02 
AnswerRe: CString to char * conversion? Pin
Code-o-mat27-Jan-09 23:14
Code-o-mat27-Jan-09 23:14 
Hi.

What do you mean by "but it is not working"?
Does this work:

CString messageTOWrite("Test Message");
TCHAR* temp=messageToWrite.GetBuffer(messageToWrite.GetLength());
...
messageTOWrite.ReleaseBuffer();


If yes, my guess would be that TCHAR is not char but wchar_t (or such), so you are using unicode, and to get a char * from the unicode string you will have to convert it from unicode to ASCII somehow.

> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> Life: great graphics, but the gameplay sux. <

GeneralRe: CString to char * conversion? Pin
Sarath C27-Jan-09 23:51
Sarath C27-Jan-09 23:51 
GeneralRe: CString to char * conversion? Pin
Code-o-mat28-Jan-09 0:03
Code-o-mat28-Jan-09 0:03 
GeneralRe: CString to char * conversion? Pin
Sarath C28-Jan-09 0:16
Sarath C28-Jan-09 0:16 
GeneralRe: CString to char * conversion? Pin
Cedric Moonen28-Jan-09 0:12
Cedric Moonen28-Jan-09 0:12 
GeneralRe: CString to char * conversion? Pin
Code-o-mat28-Jan-09 0:28
Code-o-mat28-Jan-09 0:28 
GeneralRe: CString to char * conversion? Pin
Cedric Moonen28-Jan-09 0:53
Cedric Moonen28-Jan-09 0:53 
GeneralRe: CString to char * conversion? Pin
sam_psycho28-Jan-09 0:42
sam_psycho28-Jan-09 0:42 
GeneralRe: CString to char * conversion? Pin
Code-o-mat28-Jan-09 0:47
Code-o-mat28-Jan-09 0:47 
GeneralRe: CString to char * conversion? Pin
sam_psycho28-Jan-09 0:52
sam_psycho28-Jan-09 0:52 
AnswerRe: CString to char * conversion? Pin
CPallini28-Jan-09 0:03
mveCPallini28-Jan-09 0:03 
AnswerRe: CString to char * conversion? Pin
Cedric Moonen28-Jan-09 0:11
Cedric Moonen28-Jan-09 0:11 
AnswerRe: CString to char * conversion? Pin
David Crow28-Jan-09 4:21
David Crow28-Jan-09 4:21 
GeneralRe: CString to char * conversion? Pin
CPallini28-Jan-09 7:54
mveCPallini28-Jan-09 7:54 
GeneralRe: CString to char * conversion? Pin
David Crow28-Jan-09 8:00
David Crow28-Jan-09 8:00 
AnswerRe: CString to char * conversion? Pin
Rajesh Katalkar31-Jan-09 5:52
Rajesh Katalkar31-Jan-09 5:52 
QuestionMSMQ - Unable to open a public remote Q in Receive Mode Pin
Md Saleem Navalur27-Jan-09 22:57
Md Saleem Navalur27-Jan-09 22:57 
QuestionHooking/Getting notfied the display of common error message dialogs Pin
VCSharp00727-Jan-09 22:53
VCSharp00727-Jan-09 22:53 

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.