原创 走近 STL

走近 STL 本文面向的讀者:學習過C++程序設計語言(也就是說學習過Template),但是還沒有接觸過STL的STL的初學者。這實際上是我學習STL的一篇筆記,老鳥就不用看了。什麼是泛型程序設計  我們可以簡單的理解爲:使用模

原创 keyboard Virtual-Key Codes

VK_LBUTTON (01) Left mouse button   VK_RBUTTON (02) Right mouse button   VK_CANCEL (03) Control-break processing   VK_M

原创 Modeless dialog

1. construct same as model CModelessTest 2.  pModelessTest = new CModelessTest; pModelessTest->Create(IDD_MODELESS,this

原创 Manually create a recordset with VB

http://www.microsoft.com/china/MSDN/library/data/dataAccess/USdnhcvb04vb04h4.mspx?mfr=true Dim RecordSet_Test As ADODB.

原创 Web Service with Https in C++ 非託管方式

自動生成的代碼是不能直接使用HTTPS 參考MSDN:SecureSOAP 示例http://msdn2.microsoft.com/zh-cn/library/s2ya483s(VS.80).aspx強烈建議不要將Web Service

原创 Gray and Dithered Bitmap Functions

Gray Bitmap Functions MFC provides two functions for giving a bitmap the appearance of a disabled control. AfxDrawGr

原创 C++虛函數調用的反彙編解析

 http://blog.csdn.net/apemancsdn/archive/2004/08/23/82606.aspx   C++虛函數調用的反彙編解析       作者:阮建輝   虛函數的調用如何能實現其“虛”?作爲C++多態

原创 語音識別與朗讀 with MS SAPI5.1

http://blog.csdn.net/In355Hz/archive/2003/07/04/5142.aspx Hello World by Microsoft Speech SDK 5.1     剛剛從 Microsoft 網站下

原创 鍵盤掃描碼大全

鍵盤掃描碼大全 時間: 2007-08-18 22:58:28 | [<<] [>>] 對程序進行鍵盤控制時,往往要用到一些鍵的掃描碼,以前每次用時都得先掃下試試,實在麻煩,今天又搞了個小程序,用到了掃描碼,索性整了個測試程序,把

原创 迭代器 stl map erase iterator 正確用法

VectorType::iterator it = someVector.begin();for (; it != someVector.end();){if (*it== value){it = someVector.erase(it

原创 討厭的0xc0150002 MS has not give friendly notify for Vista with VS2005

0xc0150002.我用的是VC 2005的環境,運行的程序需要調用其他dll.  In addation include necessary dll, all relatived manifest file should includ

原创 Web service certificates configuration

http://www.cnblogs.com/lotus/archive/2007/01/28/632766.aspx 部署WSE3.0實戰:性能、證書與WSE910錯誤       早些時候看WSE3.0附帶sample code,似

原创 Select a Folder

 BROWSEINFO bi = {0}; bi.pidlRoot = NULL; bi.hwndOwner = m_hWnd; bi.pszDisplayName = m_szSelectPath; bi.lpszTitle = "Se

原创 keyboard hook

http://blog.csdn.net/van_ni/archive/2006/03/11/622112.aspx    Rootkits: Subverting the Windows Kernel chap6_2 翻譯     

原创 VS2005 study

http://www.ad0.cn/netfetch/article.asp?id=1143 Visual Studio 2008下載(Visual Studio 2008 Team Suite download) VS2008正式版下載