Configure eclipse for developing Windows drivers

I am trying to write a Windows virtual printer driver (XP, Vista and 7) using WDK 7.1.0. I plan to use the eclipse development environment for development, so I wanted to know if I can configure it for it. I want to do the following: -

1) Eclipse recognizes win32 apis (C and C ++) and therefore provides functions such as autocomplete function names

2) Eclipse use compiler with WDK

3) Debug code through eclipse (not sure if this is possible or not)

Or would you suggest a different development environment for developing Windows drivers?

+4
source share
2 answers

You should definitely use MS Visual Studio with the VisualDDK addon.

It allows you to compile / debug even kernel-mode drivers locally or remotely.

+1
source
  • Launch Eclipse from the build environment you need (free or tested using the required architecture).
  • Create a project or import C / C ++ / Existing code as a makefile project. Select the GNU Toolchain.
  • Properties β†’ Builders β†’ Create β†’ Environment β†’ Select, select all variables, check "add to all configurations", select "replace the native environment with the specified one." On the Home tab, select the full path to build.exe of the selected build environment. Select the project directory in the workspace as the "working directory"
  • Properties β†’ C / C ++ Build β†’ On the β€œSettings” tab on the checkmark, uncheck the β€œUse the default command” flag and enter β€œbuild”
  • Properties -> C / C ++ Build -> Tool Chain Editor -> Select Tools. Personaly I have chosen msvc compilers.
  • Properties -> C / C ++ General -> Paths and Symbols -> select what you need, including WDK
  • Enjoy
+6
source

All Articles