Hi all,

I am required to write a device driver for an I/O card that needs to run under NT 4.0 or later.

I do know that I probably need to create an NT service. This service should supply interface functions to manipulate the I/O registers and read data. The original code to do this that I have ran quite happily under W95, but needs to deactivate all interrupts (which is not allowed in NT application code), so it needs to migrate into the NT kernal as a service. I need to know what type of service to create and how to call the functions that the service provides from another C++ application.

Can anybody tell me what type of service to use, and how to link it to access it from a standard C++ application. Example code would be very helpful if possible.

Thanks in advance,


Roger Allen