博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2009年1月6日

摘要: VARIANT (VARIANTARG) is a special type that is a union of different types. VARIANTs can contain most primitive data types, strings, and arrays, but not fixed-length String data type and user-defined... 阅读全文

posted @ 2009-01-06 21:23 skyfree 阅读(147) 评论(0) 推荐(0) 编辑

摘要: BSTR是COM中默认的字符串数据格式,和char* 及std::string等不同,BSTR is a null-terminated, length-prefixed, unicode string. 下面是一个非常好的对BSTR的解释: A bstr is a pointer to a string of wide char. The string is not terminated. In... 阅读全文

posted @ 2009-01-06 20:46 skyfree 阅读(2206) 评论(0) 推荐(1) 编辑