Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: h3llh0l3 on May 22, 2009, 09:22:42 pm
-
Hi all,
I have just downloaded and installed Code::Blocks on windows. When I try to create a project for kernel mode driver, it prompts me to choose a compiler but does not show the WinDDK in the list. Is there a way I can point to use WinDDK(I was not able to find a way)?
TIA.
-
The WinDDK is NOT a compiler; this list is not for beginners to C/C++ programing.
I suggest you ask your [basic C/C++] questions on a more correct site.
Something like http://cboard.cprogramming.com/
Edit: kernel mode driver and WinDDK are both Microsoft items so I suggest using an MSVC++ Microsoft Visual C++ Compiler. WinDDK means Windows Driver Development Kit.
Note: It is possible that the WinDDK come with an MSVC++ Compiler like some/all PSDK Platform Software Development Kit does.
IIRC, Visual Studio 2005/2008 is what the MSVC++ is called in Code::Blocks. Note, Code::Blocks does NOT come with an MSVC++ Compiler, but the auto-detect might find one it is is already installed.
Tim S
-
Is there a way I can point to use WinDDK(I was not able to find a way)?
MinGW/GCC ships with the headers/libs needed to build such drivers, too (e.g. look into [PATH_TO_MINGW]\include\ddk).
If you really need to use the VC compiler, setup your project's build settings accordingly. In addition setup the VC compiler in C::B's compiler settings correctly.