Time of Update: 2018-12-03
Normal 0 7.8 磅 0 2 false false false MicrosoftInternetExplorer4 /* Font Definitions */ @font-face{font-family:宋體;panose-1:2 1 6 0 3 1 1 1 1 1;mso-font-alt:SimSun;mso-font-charset:134;mso-generic-
Time of Update: 2018-12-03
Normal 0 7.8 磅 0 2 false false false MicrosoftInternetExplorer4 /* Style Definitions */
Time of Update: 2018-12-03
Normal 0 7.8 磅 0 2 false false false MicrosoftInternetExplorer4 /* Style Definitions */
Time of Update: 2018-12-03
Normal 0 7.8 磅 0 2 false false false MicrosoftInternetExplorer4 /* Style Definitions */
Time of Update: 2018-12-03
由於沒有時間,就寫一個比較簡易的定時器程式 // TimerTest.cpp : 定義控制台應用程式的進入點。#include "stdafx.h"#include <Windows.h>#include <iostream>using namespace std;#define FAIL_IN_CREATE_TIMER 1#define FAIL_IN_SET_TIMER 2#define FAIL_IN_WAITFORSINGLEOBJECT 3bool
Time of Update: 2018-12-03
vista中,對控制台上的表徵圖進行隱藏的辦法:通過寫註冊表隱藏cpl檔案,如果對隱藏cpl檔案無效時,則要通過隱藏GUID的辦法。但是,網上的好多資料,只能在xp或2000下生效,我在進行這個工作的時候,被網上的資料騙的好慘。所以把我經過檢驗的cpl檔案和UUID列舉出來,希望大家少走點歪路。 注意:必須在隱藏cpl無效的情況下,才可用GUID,否則,無效。 修改CPL的方法為:HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersio
Time of Update: 2018-12-03
Time of Update: 2018-12-03
db/dw/dd/dq 地址 : 位元組 / 字 / 雙字 / 四字方式查看資料 o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"> height:320.25pt'> o:title="" /> da/du 地址 : ASCII 字串 /Unicode 字串方式查看指定地址 dt 變數名稱:
Time of Update: 2018-12-03
用windbg調試Release版本,查看source code視窗中的變數值,發現有些變數無法在windbg顯示值,而提示“Your debugger is not using the correct symbols...”,檢查模組載入的pdb沒有任何問題,載入了正確的pdb,但就是有些變數的值顯示不出來。之前用VS2005調試Release版本也出現過問題,能顯示所有值,但顯示的變數值是錯誤的。於是去掉最佳化選項後重現編譯模組。發現Windbg能正常顯示變數值,不再提示“Your debu
Time of Update: 2018-12-03
#include <tchar.h>#include <windows.h>int _tmain(int argc, _tchar* argv[]){wchar_t pwstr[] =l"我是中國人";wchar_t pwstr2[20]; char *pcstr = (char *)malloc(sizeof(char)*(2 * wcslen(pwstr)+1)); memset(pcstr , 0 , 2 * wcslen(pwstr)+1 );
Time of Update: 2018-12-03
映像二值化閾值自動選取 原來找的些東西,先放在這裡,有時間再整理, http://www.programfan.com/article/showarticle.asp?id=2219
Time of Update: 2018-12-03
Normal 0 7.8 磅 0 2 false false false MicrosoftInternetExplorer4 /* Style Definitions */
Time of Update: 2018-12-03
邊緣檢測類(包括Roberts, Sobel, Prewitt, Kirsch等運算元的邊緣檢測演算法) public class EdgeDetect : ImageInfo { /************************************************************ * * Roberts, Sobel, Prewitt, Kirsch, GaussLaplacian * 水平檢測、垂直檢測、邊緣增強、邊緣均衡化 * ************
Time of Update: 2018-12-03
用 winmm 播放音樂 Posted on 2005-11-15 23:39 ChengKing 閱讀(110) 評論(0) 編輯 收藏 所屬分類: .Net使用DLL中的方法 、C#專欄 (一). 說明 一個播放音樂的類,直接COPY就可以用了. 可用於自己編寫的遊戲等一些需要播放音樂的地方. 只要給它正在的檔案名稱 就OK了. 具體看下面代碼. (二).步驟 using System; //using System.Drawing; using System.Collections;
Time of Update: 2018-12-03
內聯彙編基礎知識 從今天起,給大家發放一些關於C和C++的一些技巧性文章。 希望大家能夠喜歡。 一、 內聯彙編簡述 Visual C++ 6.0編譯器下,內聯彙編可以使用所有的Intel486處理器指令集。而且可以對目標處理器建立起偽指令來實現附加指令功能。內聯彙編可以使用MASM編譯器所允許的運算式,其中的一些運算式可以通過操作符和運算元的組合,對單精值進行運算。
Time of Update: 2018-12-03
原來的代碼是隱藏_root_為了調試方便,改為了AcroRd32 // BASIC ROOTKIT that hides processes// ----------------------------------------------------------// v0.1 - Initial, Greg Hoglund (hoglund@rootkit.com)// v0.3 - Added defines to compile on W2K, and comments. Rich// v0
Time of Update: 2018-12-03
這裡介紹Windows Sockets的一些關於原始通訊端(Raw Socket)的編程。同Winsock1相比,最明顯的就是支援了Raw Socket通訊端類型,通過原始通訊端,我們可以更加自如地控制Windows下的多種協議,而且能夠對網路底層的傳輸機制進行控制。1、建立一個原始通訊端,並設定IP頭選項。SOCKET sock;sock = socket(AF_INET,SOCK_RAW,IPPROTO_IP);或者:s =
Time of Update: 2018-12-03
#include <Windows.h>#include <iostream>#define ERRORINGETLOCALSERVICELIST 1DWORD GetLocalServiceList(){ DWORD dwErrorCode = NULL; DWORD dwRet = NULL; DWORD dwBufSize = NULL; DWORD dwByteNeeded = NULL; DWORD
Time of Update: 2018-12-03
This article was previously published under Q96781SUMMARYThe standard remote procedure call (RPC) model has a server containing one or more exported function calls, and a client, which calls the server's exported functions. However, Microsoft's
Time of Update: 2018-12-03
一個microsoft的.exe程式的啟動過程 本文系轉載,原創連結:http://blog.csdn.net/bigwhite20xx/archive/2002/07/19/17515.aspx 學習windows 編程從mfc角度來說可分為兩部分那就是WinMain函數以前的,和WinMain函數以後的。前者涉及很多windows作業系統內部的知識,後者麼看mfc源碼就可以了。雖然大多數程式不需要你瞭解太多關於os載入應用程式這方面的知識,但我認為能較深入瞭解windows