Clandestiny
March 13th, 2003, 21:20
Hi guys,
I apologize in advance if this is a bit off topic, but I figured one of you guys might be able to help me a bit.
Currently, I'm writing my first KMD. At this point the kmd and the loader assemble, but at this newbie starge of development there seem to be a few bugs which bring down the system when it acutally runs, heh, heh
I'm using the CreateService / OpenService / StartService API's to dynamcially load the driver. As its currently crashing before before being properly unloaded, I can't load it again until after a reboot and even sometimes after a reboot the CreateService returns with an ERROR_SERVICE_DISABLED. I know there are some registry entries associated with services so I'm guessing that perhaps the driver is flagged in the registry for deletion, but the registered service is only deleted when the system is *properly* shut down, not locked-up cold necessitating a hard reboot? I really have no idea... I'm probably way off the mark here and I only have a couple of sketchy examples to go on. Anyway, does anyone know if there is a procedure for manually unloading a failed driver?
This rebooting and ERROR_SERVICE_DISABLED problem is driving me nuts.
Thanks in advance,
Clandestiny
I apologize in advance if this is a bit off topic, but I figured one of you guys might be able to help me a bit.
Currently, I'm writing my first KMD. At this point the kmd and the loader assemble, but at this newbie starge of development there seem to be a few bugs which bring down the system when it acutally runs, heh, heh


Thanks in advance,
Clandestiny