Topic.csdn.netu20081101118822fedf-609d-4982-847f-a2bb821385c2.html? Seed1148906615 detailed installation of DriverStudio3.2 after repeated installation of the three software: VC, WINDDK, and DriverStudio, DriverStudio can be compiled normally in the VC environment. As the saying goes
Http://topic.csdn.net/u/20081101/11/8822fedf-609d-4982-847f-a2bb821385c2.html? Seed = 1148906615 after installing the software VC, WINDDK, and Driver Studio repeatedly, Driver Studio can be compiled normally in the VC environment. As the saying goes
Http://topic.csdn.net/u/20081101/11/8822fedf-609d-4982-847f-a2bb821385c2.html? Seed = 1148906615
Detailed instructions on Driver Studio 3.2 Installation
After repeated installation of the three software, VC, WINDDK, and Driver Studio, the Driver Studio can be compiled normally in the VC environment. As the saying goes, if you have been ill for medical treatment for a long time and have encountered many problems, you will naturally have a lot of solutions to the problems. Now let's share it with you.
1. Install VC, WINDDK, and Driver Studio respectively, which are VC-> WINDDK-> Driver Studio. In fact, the order can be changed. I have tried VC-> Driver Studio-> WINDDK. It's okay, but it's best to install it in the recommended order;
2. When you install DDK, we recommend that you install all the examples. Otherwise, the Driver Studio will prompt that the header file is missing during compilation;
3. In the VS2005 environment, a dialog box is displayed when Driver Studio is installed. Click the Ignore button. The solution is described in detail later;
4. Select "DriverStudio-> DDK Build Setting" and select the DDK Directory in the "DDK Root Directory" option, for example, "C:/WINDDK/2600 ". To prevent the DDK directory from being set every time VC is started to compile WDM, you can add a system variable BASEDIR with the value of C:/WINDDK/2600 in "system"> "advanced"> "environment variable E" settings of "Control Panel;
5. Use VC to open "... "/DriverStudio/DriverWorks/source/VdwLibs. dsw", use Driver Studio for compilation. If the compilation is successful, it will be OK, and then you can perform Driver development.
6. Use the DriverWizard Wizard to correctly configure the driver type to be developed and generate the required driver engineering framework.
How to solve the DSDDKEnv8.dll failed to register error during DriverStudio3.2 Installation
Cause: this error occurs when integrated with VS2005.
Solution, Patch: ftp://ftp.compuware.com/pub/driverstudio/outgoing/patch/DSDDKEnv.zip
> Extract it into a temp directory.
> Copy the file DSDDKEnv8.dll into /DriverStudio/Common/Bin directory.
> Select "yes" if prompted to copy over an existing one.
> Copy the file DSDDKEnv8UI. dll into /DriverStudio/Common/bin/ 1033 directory. Select "yes" if prompted to copy over an existing one.
> Then unregister the older version
Go to start-> run and type "regsvr32-u" /DriverStudio/Common/Bin/dsddkenv8.dll"
Note that <INSTALL_DIR> cannot contain spaces; otherwise, the command cannot be executed. I have installed DriverStudio in C:/Program Files, and it is always unable to run, so I have been depressed for a long time, this problem can be solved only after someone else raises a point, but I don't know why. Does anyone know?> Then register the new copy
Go to start-> run and type "regsvr32 /DriverStudio/Common/Bin/dsddkenv8.dll"
> DriverStudio menu shocould now be part of the VisualStudio 2005 menu
If the solution file is generated after vs2005 + patch. when sln cannot double-click to open the project, you can use the text editor to open it. add "# Visual Studio 2005" to the second line of the sln file to save it. For example:
Microsoft Visual Studio Solution File, Format Version 9.00
# Visual maxcompute 2005
Project ("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "aa", "driver/aa. vcproj", "{region }"
EndProject
Radical Cure:
Open the WdmDriver.sln.net file in the/DriverStudio/DriverWizard/Templates directory.
Find the line "Microsoft Visual Studio Solution File, Format Version 9.00", and add "# Visual Studio 2005" to the next line to save it, in the future, the project generated by DriverWizard can be opened by double-clicking.
Problems that may occur during compilation (in VS2005)
Error C4430: missing type specifier-int assumed. Note: C ++ does not support default-int
The solution to this error is as follows:
Open project> BaseClasses properties> configuration> C/C ++> Command Line and add the/wd4430 option.
The reason why NextNode () or other functions do not return the type is that your code may be the error of migrating from VC ++ to VS2005 for compilation, in VC, your function does not return a type. The default value is INT, but the above error will be reported in VS2005!