I’m new to driver development and VisualDDK. I would like to port the Winsock portion of a Windows Service I have to Winsock Kernel. My development environment is VS2010 on Windows 2008 host and guest (running under Virtual Server).
I’ve managed to create a sample driver using VisualDDK bytaking all of the defaults. I can deploy to the guest os, set breakpoints, and debug the application (VisualDDK is very impressive!!). My next step is to import the WSK echosrv (in the WindowsDDK net samples) into Visual Studio using VisualDDK. I did this and it generated the project etc. for me. I can compile the driver and attempt to launch the debugger. VisualDDk will copy the driver to the drivers folder on the guest machine. However, I’m stuck now trying to either launch the service to attach to or get VisualDDK to debug the driver. I would like to set breakpoints in the code like I did with the sample project that I first generated with VisualDDK but no luck. From what I can tell, I need to register the echosrv.sys as a service and then start it. How can i do this through VisualDDK so I can debug the driver entry and other parts of the driver? Any help will be greatly appreciated.