Rookie 30 minutes floors VXD

zhaozj2021-02-08  206

Rookie 30 minutes floors VXD

Author:

Twiste

In fact, you are not a rookie, you are already familiar with VC. Just want to enter VXD as soon as possible. The shortcut that wants to write the VXD driver is Verio's vtoolsd without writing, and many operations are well packaged into classes. 1. Here we first introduce the development environment for VXD development with vtoolsd. 1) First, you have installed VC5 or more on your machine; 2) Install the compilation environment of MASM611 or later, the general web is found to be a path-zip compressed file, not the installation file, unzip it to the appropriate directory. Such as c: / masm /; 3) Install Softice, this is not necessary, but is supported when compiled; 4) Install vtoolsd, a. First display copyright and select the installation path; b. Select compiler For Microsoft VC ; c. Select the VC version 4.x d. Specify the path to the VC (my machine is C: / MSDN / VC98 /, you may be C: / Program Files / Microsorft Visualstudio / VC98 / , Ie the root directory of VC6) E. Select Masm6.11. F. Specify the path to Masm6.11 (my machine is c: / masm / bin /, the mASM611 bin subdirectory) g. Next option selection YES adds VToolSD Help to the VC Help extension h. Next, the next item selects NEmega Soft-Ice as Debugger i. You can then select the path to the Softice (the Util16 subdirectory of the Softice on my machine) j. The next choice options can be selected, both are not selected; k. Next confirmation option, installation is installed; l. After the installation is complete, prompt to automatically join the vToosd = "Yes; M) in the environment variable. Finally, confirm the installation. 5) If you haven't finished, you have to find the user.mak file in the vToolsd's Include subdirectory, and the long text name inside will be file alias, such as Program Files / Microsoft Visual Studio / change to progra ~ 1 / Micros ~ 1, etc .; 6) to the root directory of the disk, find autoexec.bat, see if it adds an item: set vtoolsd = your vtoolsd path, (such as set vtoolsd = d: / vtoolsd), if not please Plus; 7) Finally restart your computer, you can use VC to compile VXD procedures; Second, we introduce the VXD driver with VC. It should be used to automatically generate source code with VToolD. But here is the code I have written, and the code automatically generated by vtoolsd is similar. The difference is that it is very detailed, and it has been carefully cut, and the source code is automatically generated with vtoolsd. We will discuss it later. You only need to compile the programs included in this article to use VC, which has more detailed comments in the program.

转载请注明原文地址:https://www.9cbs.com/read-2978.html

New Post(0)