Driver development: configuration of vc6.0ide + DriverStudio

Source: Internet
Author: User

No matter what development, the first step is to configure the environment. Recently, many friends on csdn asked about the environment configuration of driver development. I am learning about this and will write the configuration process driven by the development of 6.0 + DriverStudio, hoping to help you.

The first thing to do is install 6.0. After the corresponding DDK is installed, you can install DriverStudio, during the installation of dirverstudio, you will be prompted to select the directory where DDK is located (DriverStudio is actually an encapsulation of DDK). After successful installation, the DriverStudio option will appear in the IDE of vc6.0, this option contains a driver wizard, which allows you to create a basic driver framework. Note that after DriverStudio is installed... the project under the/DriverStudio/driverworks/source directory must be correctly compiled and the corresponding lib file must be generated. Otherwise, a link error occurs when you compile the driver, prompting you that vdw_wdm.lib cannot be enabled, this vdw_wdm.lib is generated only after compilation.

DriverStudio encapsulates DDK into a class to make it easier to understand and use. It mainly has three classes: kdriver, kpnpdevice, and kpnplowerdevice. Their role is not detailed here. You can see the code when you start development. The wizard automatically generates an INF file, which is used to install the driver. We only need to modify a few of them, which will be explained in detail later in the development process.

I will keep writing the development process later. Here I will tend to be the IFS file filter driver, which is the following three points summarized by the "Chu Madman" Hero:


First, it is used for anti-virus engines. When the system reads and writes files, it is expected to capture the read and write data and then detect whether the data contains virus code.

Second, it is used to encrypt the file system and want to encrypt and decrypt the data during file writing.

Third, design transparent file system acceleration. When reading and writing a disk, the appropriate cache algorithm can greatly improve the efficiency of the disk. The cache algorithm of Windows itself may not be suitable for some special read/write operations (such as reading streaming media files on a Streaming Media Server ). I already have some experience designing my own cache algorithm.

Sorry, I cannot take care of others. Ifs DDK will be used later. This is billed, but it is also available for download on the drive Network for free. I am there. It seems that this is not very easy to find. I can deliver it to you without it, now, the next article will officially start the development journey.

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: 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.