Levon Chen 的脚步

生活在于拥抱改变。

2009年11月4日

停止烦人的Automatic Updates Dialog。

摘要: Windows的自动更新提示对话框总是烦人的出现。运行以下的命令试试看。sc stop wuauserv 阅读全文

posted @ 2009-11-04 12:56 Levon Chen 阅读(193) 评论(0) 推荐(0) 编辑

SafeArray 的使用

摘要: 1. voidCTestDlg::OnButton1()2. {3. //TODO:Addyourcontrolnotificationhandlercodehere 4. USES_CONVERSION;//想用T2OLE就必须加上这一句 5. 6. CoInitialize(NULL);7. 8. ITestArrayPtrptr;9. ptr.CreateInstance(__uuidof(... 阅读全文

posted @ 2009-11-04 08:57 Levon Chen 阅读(323) 评论(0) 推荐(0) 编辑

字符串转化2

摘要: 转贴自: http://hi.baidu.com/greatren518/blog/item/ae8ec0113234b774ca80c4ca.html本主题演示如何将各种 C++ 字符串类型转换为其他字符串。可以转换的字符串类型包括 char *、wchar_t*、_bstr_t、CComBSTR、CString、basic_string 和 System.String。在所有情况下,在将字符串... 阅读全文

posted @ 2009-11-04 08:55 Levon Chen 阅读(205) 评论(0) 推荐(0) 编辑

导航