关于CComVariant的问题

alacrity 2004-07-31 09:49:26
请问哪为高手知道怎么从CComVariant类的变量中,得到一个可显示的字符串类型,谢谢!
...全文
89 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
alacrity 2004-08-02
  • 打赏
  • 举报
回复
谢谢,不过这个函数我不知道为什么在我的evc下不能用,错误提示是copyto不是成员函数。答案我已经找到了。那就给你20分吧
91program 2004-07-31
  • 打赏
  • 举报
回复
CComVariant::CopyToSee Also
CComVariant Overview | Class Members | CComVariant::Copy
Copies the contents of the CComVariant object.

HRESULT CopyTo(
BSTR *pstrDest
);
Parameters
pstrDest
Points to a BSTR that will receive a copy of the contents of the CComVariant object.

19,502

社区成员

发帖
与我相关
我的任务
社区描述
硬件/嵌入开发 嵌入开发(WinCE)
社区管理员
  • 嵌入开发(WinCE)社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧