ExampleCode: It is convenient for later use.
# Include "stdafx. H"# Include # Include "include/detours. H"
# Pragma comment (Lib, "lib/detours. lib ")
// Target pointer for the uninstrumented MessageBox APIStatic int (winapi * sysmessagebox)
Yesterday, Liang Shidi of Hebei Normal University brought a group of people to ask me questions. I did not dare to use this word. In this case, I am confused about the level of Mixed development, means wrong.In fact, I think we are all willing to
-- API method
1. Excel must be installed first;
2. Import the Excel API to the project:Classwizar-> Add class-> select excel.exe-> select all-> OKAutomatically add excel. h and Excel. cpp to the Project
3. OLE initialization:In the initinstance ()
The globalmemorystatusex function is used to obtain system memory information:
Bool winapi globalmemorystatusex (_ Inout lpmemorystatusex lpbuffer);
Sample Code:
Void ctestdlg: getmemoryinfo (){Memorystatusex statex;
Statex. dwlength = sizeof
Address: http://book.51cto.com/art/200912/174785.htm
When the driver and application layer use named pipeline communication, I don't know how to open the named pipeline path in the driver. The path name in the original driver is: "\ device \
Recently, I developed a network playing sound for PCM data uploaded from the network. Here I want to explain how to use the wavexxx functions to compile a sound playing program, at the same time, it should be noted that the dual-buffer method is
This article mainly records my notes on installing the VMware + windgb + win7 kernel driver.
I. installation environment
HOST: Windows Vista Bussiness
Virtual Machine: VMWare 7
Guestos: win7
Windbg: 6.11
Ii. Virtual Machine Configuration
Lab environment:
Vs2010 is successfully compiled and run in Windows 7.
Extract directly
Open the project in the directory vs2008 after extracting the bochs-2.6, bochs. sln
Contains 17 engineering filesSome necessary configuration files are missing
This is the first version, that is, to implement the IP address change function, only for the first discovery, if there is only one Nic, you can use thisView plaincopy to clipboardprint?
'/* =================================================== =======
Makecab is a file provided by Microsoft to create a cab. For details about makecab, refer to Microsoft msdn. The system provides the command usage as follows:
Microsoft (r) cabinet maker-version (32) 1.0020.601 (03/18/97)Copyright (c) Microsoft Corp
This article briefly introduces Microsoft's FCI/FDI library, hoping to help you.
Introduction:FCI (File compression Interface) and FDI (file decompression Interface) are Development kits provided by Microsoft for compression and decompression. The
Http://hi.baidu.com/magicfuzzx/item/284b1dd7c3087c0a20e2500e
Shellapi is characteristic of defining a struct and then calling a function. The parameter of this function is usually the pointer of this struct, such as the shellexecuteinfo struct in
Alt + BSearch for strings in IDA
G keyDirectly enter the address to jump to the specified address
D keyConvert the selected row into data
C keyChange the selected row to an assembly
Select the hexadecimal data in Ida,Press HIt can be directly
1. Create an empty Win32 application and add the driver file (including include and sources) to the project.
2. Tools --> options --> directories --> executable filesAdd: C: \ winddk \ 7600.16385.0 \ bin \ x86 \ x86Place the command at the top when
Today, we finally used cricheditctrl to intercept, send, and display the chat dialog box. When you use streamin provided by cricheditctrl to display complex texts and images, because you need to set sff_selection (Replace the current selection), it
Memory leakage caused by afxbeginthread (zz)
The following code indicates that memory leakage occurs when a thread starts with afxbeginthread.
For (II = 0; II {Cwinthread * pwinthread;Pwinthread = afxbeginthread (threadlbproc, null );: Sleep (500 );}
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service