terrcy
2004-04-16 10:02:01 UTC
to All:
I have the function:
myfun(unsigned char * buf)
and I define a cstring variable str:
cstring str;
Question:
how can I convert the variable and after pass it into my function
here ,I do it but error.
char * ch=(LPCTSTR)CString
May i use the function : const_cast ?
and how can i use it ?
appreciated for anyone of reply
best regards
I have the function:
myfun(unsigned char * buf)
and I define a cstring variable str:
cstring str;
Question:
how can I convert the variable and after pass it into my function
here ,I do it but error.
char * ch=(LPCTSTR)CString
May i use the function : const_cast ?
and how can i use it ?
appreciated for anyone of reply
best regards