hr=StringCchPrintf(inputCh,TextLen,TEXT("%s"),editbuf);// add 0724执行后inputCh的字符数实际上是不是只有TextLen-1个呢?谢谢
解决方案 »
- 收藏 不显示删除回复显示所有回复显示星级回复显示得分回复 急!急!急!用C++编译程序和数据库连接,使用工程列表里的哪个?
- CSoket网络编程,怎么发送数据包
- 问一个关于在richedit2.0上输入字母的字体的问题。
- 请转贴!
- 哪位知道联众的数据结构啊,想编一个联众麻将助手,不知怎么下手?
- 第一次提问,请帮帮忙,两个问题。
- 请问,,用计算机的答应口能否实现6位i/o的输入啊!!!!!!
- VC6.0创建的对话框工程如何插入Microsoft Web Browser控件
- C++中如何动态定义多维数组
- 关于VC中资源复制的问题
- 请问装VS2005同时装的.NET FRAMEWORK 2.0是什么用?
- 菜鸟再问
pszDest
[out] Pointer to a buffer that receives the formatted, null-terminated string created from pszFormat and its arguments.
cchDest
[in] Size of the destination buffer, in characters.
This value must be sufficiently large to accommodate the final formatted string plus 1 to account for the terminating null character.
The maximum number of characters allowed is STRSAFE_MAX_CCH.
msdn是这么说 但是我用这个函数的时候,buf一定要设得比长度大一位才能完全copy过来不知道为什么