Building KernelEx
From KernelEx Wiki
Contents |
Prerequisites
Components required to build the base projects:
- Microsoft Visual Studio 6.0 (MSVC 6.0)
- Microsoft Visual Studio 6.0 Service Pack 6
- Microsoft Platform SDK February 2003 Edition (last version with VC6 support)
- http://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.1.cab
- http://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.2.cab
- http://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.3.cab
- http://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.4.cab
- http://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.5.cab
- http://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.6.cab
- http://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.7.cab
- http://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.8.cab
- http://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.9.cab
- http://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.10.cab
- http://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.11.cab
- http://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.12.cab
- http://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.13.cab
- http://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.bat
- http://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/extract.exe
Extra dependencies required to build VKernelEx kernel driver:
- Microsoft Windows 98 Driver Development Kit
- 98ddk.exe 26,377,712 bytes (MD5: acbd703d59d240601c21422386fbf70e)
- or Microsoft Windows 2000 Driver Development Kit
- win2kddk.exe 68,905,688 bytes (MD5: 287b12f965d8f0cf27c4430f1c84df22)
Extra dependency required to build the installer:
Configuring Build Environment
Install components in the order listed above.
Upgrade header files of Visual C++ 6.0 with msvc6chk tool located under util directory of KernelEx source code distribution.
IDE Configuration
Before proceeding to building the project, ensure that both include and library paths are updated inside the Microsoft Visual Studio to correctly point to the PSDK and DDK.
Open Tools->Options dialog and switch to Directories tab.
Firstly, ensure that you have correct paths for include files.
Finally, ensure that you have correct paths for library files.
Building
Once the environment is fully configured, you can proceed to building KernelEx.
In order to build, choose Build->Batch Build... option from the menu.
Select projects you want to build on a dialog which shows up.
- Note 1: kexcontrol project will only build if debug Core project has been build beforehand.
- Note 2: To execute sdbcreate project and create SDB database you need Windows Vista or later.
In order to create installer, right click on KernelEx.nsi file in explorer and choose Compile NSIS Script. This will create installer called KernelEx-dev.exe in the same directory.



