Super-good network grab frame (Windivert) of the three (example one) __div

Source: Internet
Author: User

If the compilation does not go through, try the following methods
1. The program should be opened with administrator privileges. and add the Windivert header file
2. Add the following code:

#pragma comment (lib, "WinDivert.lib")
#pragma comment (lib, "Ws2_32.lib")

3. Find the corresponding file under Windivert-1.2.0-rc-msvc, and note that the 64-bit and 32-bit

These three files need to be added to the EXE file in the same directory

Create a URL intercept file within the Engineering folder, 1.txt
The project is set as follows: Enter command parameters

4. Set administrator rights to run, the specific methods are as follows:
VS2012, in Project Properties-Configuration Properties-linker-manifest file-uac execution level
Set to Requireadministrator (/level= ' requireadministrator ')
Rerun VS2012 as an administrator using Microsoft Visual Studio2012 for application development, Windivert does not require any special installations. Depending on your target configuration, simply place the following files in your application's home directory:
Table 4-1 using configuration tables
Application type Target Windows type Files Required
32-bit 32-bit Windows only WinDivert.dll (32-bit version) and Windivert32.sys
64-bit 64-bit Windows only WinDivert.dll (64-bit version) and Windivert64.sys
32-bit Both 32-bit and 64-bit Windows WinDivert.dll (32-bit version), Windivert32.sys, and Windivert64.sys

Whenever an application calls Windivertopen (), the Windivert driver is automatically installed (and is silent) as needed. The calling application must have administrator privileges.

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.