Click here to Skip to main content
15,867,330 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How end/stop/destroy a thread [modified] Pin
_AnsHUMAN_ 31-May-06 22:01
_AnsHUMAN_ 31-May-06 22:01 
AnswerRe: How end/stop/destroy a thread Pin
David Crow1-Jun-06 4:07
David Crow1-Jun-06 4:07 
QuestionCString to char* conversion Pin
NiceNaidu31-May-06 20:34
NiceNaidu31-May-06 20:34 
AnswerRe: CString to char* conversion [modified] Pin
_AnsHUMAN_ 31-May-06 20:43
_AnsHUMAN_ 31-May-06 20:43 
GeneralRe: CString to char* conversion Pin
Sarath C31-May-06 20:46
Sarath C31-May-06 20:46 
GeneralRe: CString to char* conversion [modified] Pin
Stephen Hewitt31-May-06 20:49
Stephen Hewitt31-May-06 20:49 
AnswerRe: CString to char* conversion Pin
Sarath C31-May-06 20:45
Sarath C31-May-06 20:45 
GeneralRe: CString to char* conversion Pin
NiceNaidu31-May-06 20:53
NiceNaidu31-May-06 20:53 
u r right Sarath,

But the problem is GetBuffer takes the parameter for length ,
So i need to call GetLength and test whether the length is greater than 0,

So, this is a big process.

if i use LPCTSTR,

it is returning const char *(void) but i when i require const char*, this is not going to help me.

Is there any alternate to these two???

Appu..
"If you judge people, you have no time to love them."
GeneralRe: CString to char* conversion Pin
Sarath C31-May-06 22:32
Sarath C31-May-06 22:32 
AnswerRe: CString to char* conversion Pin
Steve Echols31-May-06 20:47
Steve Echols31-May-06 20:47 
AnswerRe: CString to char* conversion Pin
toxcct31-May-06 22:57
toxcct31-May-06 22:57 
GeneralRe: CString to char* conversion Pin
NiceNaidu31-May-06 23:11
NiceNaidu31-May-06 23:11 
GeneralRe: CString to char* conversion Pin
toxcct31-May-06 23:13
toxcct31-May-06 23:13 
GeneralRe: CString to char* conversion Pin
Nibu babu thomas31-May-06 23:14
Nibu babu thomas31-May-06 23:14 
GeneralRe: CString to char* conversion Pin
David Crow1-Jun-06 4:09
David Crow1-Jun-06 4:09 
AnswerRe: CString to char* conversion Pin
William.Wang31-May-06 23:22
William.Wang31-May-06 23:22 
QuestionHow to use c++ header file in .c file Pin
saravana pandy31-May-06 20:33
saravana pandy31-May-06 20:33 
AnswerRe: How to use c++ header file in .c file Pin
NiceNaidu31-May-06 20:37
NiceNaidu31-May-06 20:37 
GeneralRe: How to use c++ header file in .c file Pin
toxcct31-May-06 22:45
toxcct31-May-06 22:45 
AnswerRe: How to use c++ header file in .c file Pin
Sarath C31-May-06 20:41
Sarath C31-May-06 20:41 
GeneralRe: How to use c++ header file in .c file Pin
saravana pandy31-May-06 21:50
saravana pandy31-May-06 21:50 
NewsBeware the C++ implicit conversion Pin
Sarath C31-May-06 20:10
Sarath C31-May-06 20:10 
QuestionDisable menu [modified] Pin
Anu_Bala31-May-06 20:06
Anu_Bala31-May-06 20:06 
AnswerRe: Disable menu Pin
Hamid_RT31-May-06 20:14
Hamid_RT31-May-06 20:14 
GeneralRe: Disable menu Pin
Anu_Bala31-May-06 20:17
Anu_Bala31-May-06 20:17 

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.