Installation of Windows DDK
Installing Windows DDK typically requires the installation of the Win32 SDK first, since Windows DDK requires a 16-bit resource compiler for the Win32 SDK, but the Win32 SDK is large (the capacity of an entire disc) and is difficult to buy at home, and is also less common on FTP sites, even if there are , downloading is also very difficult. After a period of exploration, I found a few simple ways to install Windows DDK, the method is described as follows:
One method: Using a third-party Resource Compiler
1, modify the registry, simulation Win32 SDK has been installed.
Create a registry file called Win32sdk.reg, which reads:
REGEDIT4
[Hkey_users\. DEFAULT\SOFTWARE\MICROSOFT\WIN32SDK]
[Hkey_users\. Default\software\microsoft\win32sdk\directories]
"Install Dir" = "C:\\mstools"
Double-click the file in Resource Manager to add the contents of this file to the registry. You can install Windows DDK.
2, run the SETUP.EXE file in Windows DDK, install Windows DDK to C:\DDK.
3. Install MASM 6.11 to C:\MASM611, and after installation, cover files in the masm611c directory of Windows DDK that are not installed to C:\MASM611\BIN.
4, install Visual C + + 5.0 (4.0 also can, but not use 6.0) to C:\Program FILES\DEVSTUDIO\VC.
5, set up C:\MSTOOLS\BINW16 directory, copy Resource compiler. Windows DDK requires a resource compiler that compiles WIN32 resource source files into 16-bit resources. If you have the Win32 SDK, you can copy files from the BINW16 directory directly to C:\MSTOOLS\BINW16, and if you don't have the Win32 SDK, you can use a Third-party resource to compile
, here is an example of a resource compiler using Borland:
Prepare the Turbo MASM 5.0 set, Unpak the Cmdline.pak file with the tool, and locate the following three files:
Brc. Exe
BRCC32. Exe
Rw32core. Dll
Copy the three files to C:\MSTOOLS\BINW16 and rename BRC.EXE to RC.EXE.
6, modify Config.sys increase environment variable space.
Add the last line to the Config.sys file:
shell=c:\windows\command.com/e:8192/p