CString的长度是0x7FFFFFFF,也就是最大的正数int的值,你看过了CString的源代码就知道了。如果出现lz说的错误,那肯定不是CString的长度不够,而一定是别的原因。
关于消息传递的问题:SendMessage(hwnd,myMessage,(WPARAM)wParam,lParam)中wParam如果是CString数组,能不能传?如何接收?
Instinct allways told me this was illegal, but now I think maybe I'm wrong:<P><BLOCKQUOTE><font size="-1">code:</font><HR><pre>CString CSQLWrapper::CleanString(const ...
I need to convert a CString variable (PropertyKey) to a WCHAR [] variable (_awcName). Looking for the answer on Google came up with MultiByteToWideChar ...