VariantChangeType
来源:互联网 发布:防范电信网络诈骗视频 编辑:程序博客网 时间:2024/06/03 21:24
Yes you must call VariantClear. The VariantChangeType method if successful will essentially coerce a copy of the source into the destination. This copy in the destination is now independently tracked and must be independently cleared.
VARIANT varDest;
varDest.vt = VT_EMPTY;
if(SUCCEEDED(::VariantChangeType(&varDest,
const_cast<VARIANT *>(&val), 0, VT_BSTR)))
{
//Do I need to call the following?
VariantClear(&varDest);
}
VariantClear(&val);
阅读全文
0 0
- VariantChangeType
- JACOB操作word VariantChangeType failed
- jacob调用Microsoft Office服务:VariantChangeType failed
- com.jacob.com.ComFailException: VariantChangeType failed
- com.jacob.com.ComFailException: VariantChangeType failed
- Linux命令搜索命令whereis与which
- 干货|如何构建高可用的分布系统
- Linux中的find命令
- 单链表基本操作的实现--创建、插入、查找、删除
- Linux中的grep命令
- VariantChangeType
- Linux中 帮助命令
- Linux中的gz格式压缩
- Linux中的其他命令帮助
- 设置本地push到远端分支位默认分支
- Linux的压缩和解压缩
- Python数据库查询中文乱码的问题处理
- Linux中的关机和重启命令
- Linux中的bz2压缩格式