Click here to Skip to main content
15,914,500 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to handle TerminateProcess in my Application? Pin
JudyL_MD2-Sep-08 6:32
JudyL_MD2-Sep-08 6:32 
QuestionString to char* Pin
Shirani1-Sep-08 17:28
Shirani1-Sep-08 17:28 
AnswerRe: String to char* Pin
Rane1-Sep-08 18:01
Rane1-Sep-08 18:01 
GeneralRe: String to char* Pin
ThatsAlok1-Sep-08 20:16
ThatsAlok1-Sep-08 20:16 
AnswerRe: String to char* Pin
santhoshv841-Sep-08 18:23
santhoshv841-Sep-08 18:23 
AnswerRe: String to char* Pin
onlyjaypatel1-Sep-08 19:00
onlyjaypatel1-Sep-08 19:00 
GeneralRe: String to char* Pin
Cedric Moonen1-Sep-08 19:56
Cedric Moonen1-Sep-08 19:56 
AnswerRe: String to char* Pin
Cedric Moonen1-Sep-08 20:00
Cedric Moonen1-Sep-08 20:00 
Which kind of string are you talking about ? CString (from the MFC) or std::string (from the STL) ? You probably have UNICODE define, that's probably why you can't 'convert'. I highly suggest that you read this excellent article[^], things will be much clearer afterwards.


Shirani wrote:
when i add data member as String or String^


Are you using managed C++ ? If yes, then this is the wrong forum. This forum is for C++ only, not managed.

Cédric Moonen
Software developer

Charting control [v1.5]
OpenGL game tutorial in C++

GeneralRe: String to char* Pin
ThatsAlok1-Sep-08 20:17
ThatsAlok1-Sep-08 20:17 
AnswerRe: String to char* Pin
ThatsAlok1-Sep-08 20:15
ThatsAlok1-Sep-08 20:15 
Questioninterpolation code C++ Pin
mrby1231-Sep-08 16:58
mrby1231-Sep-08 16:58 
AnswerRe: interpolation code C++ Pin
ThatsAlok1-Sep-08 20:18
ThatsAlok1-Sep-08 20:18 
QuestionCToolBarCtrl help Pin
fantasy12151-Sep-08 16:31
fantasy12151-Sep-08 16:31 
QuestionCAsyncSocket fails after a few successful OnReceive()'s Pin
EvoWing1-Sep-08 14:28
EvoWing1-Sep-08 14:28 
AnswerRe: CAsyncSocket fails after a few successful OnReceive()'s Pin
EvoWing2-Sep-08 3:55
EvoWing2-Sep-08 3:55 
GeneralRe: CAsyncSocket fails after a few successful OnReceive()'s Pin
Mark Salsbery2-Sep-08 7:05
Mark Salsbery2-Sep-08 7:05 
QuestionRe: CAsyncSocket fails after a few successful OnReceive()'s Pin
EvoWing7-Sep-08 4:55
EvoWing7-Sep-08 4:55 
QuestionRe: CAsyncSocket fails after a few successful OnReceive()'s Pin
Mark Salsbery8-Sep-08 8:17
Mark Salsbery8-Sep-08 8:17 
Questionconcatenate linked list of characters Pin
Sadaiyappan1-Sep-08 13:27
Sadaiyappan1-Sep-08 13:27 
AnswerRe: concatenate linked list of characters Pin
Robert.C.Cartaino1-Sep-08 14:51
Robert.C.Cartaino1-Sep-08 14:51 
QuestionA Global Keyboard hook problem. Pin
emmmatty11-Sep-08 9:33
emmmatty11-Sep-08 9:33 
AnswerRe: A Global Keyboard hook problem. Pin
Naveen1-Sep-08 15:21
Naveen1-Sep-08 15:21 
GeneralRe: A Global Keyboard hook problem. Pin
emmmatty11-Sep-08 18:49
emmmatty11-Sep-08 18:49 
GeneralRe: A Global Keyboard hook problem. Pin
Naveen1-Sep-08 19:00
Naveen1-Sep-08 19:00 
AnswerRe: A Global Keyboard hook problem. Pin
Rajesh R Subramanian1-Sep-08 20:51
professionalRajesh R Subramanian1-Sep-08 20:51 

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.