Click to See Complete Forum and Search --> : WINDDK PortIo sample problem


codex_12
October 29th, 2009, 12:27 PM
Hi,

I´m totally new to windows driver development so I hope for some help here...

I have installed the WINDDK and built the PortIo sample project. It is just a simple driver for reading some port i/o:s. It seems build successfully. The problem occures when I have installed the driver (using the genport.inf from the sample project). I have followed all the step by step instructions but it seems to be a problem when I look into the device manager...

Opening the PortIo device in the device manager says: "driver corrupted missing. (code 39)"

Does someone here have a clue of what I have done wrong or what that error code means? Do I need to do some modifications to the example source code to be able to build and run the driver correctly?

Someone here that is familiar with the DDK and the PortIo sample maybe can give some advices.

Thanks

/codex_12

Randor
October 30th, 2009, 07:58 AM
Hi,

This error simply means that the operating system cannot find the genport.sys device driver. You need to confirm that the file exists in the %SYSTEMROOT%\system32\drivers folder.

What platform and operating system are you using?

Best Wishes,
-David Delaune

voodookid
November 10th, 2009, 06:54 PM
Hן Randor,

I have the same problem as codex_12.The file is in the system32\Drivers folder and I still get Error code 39 in device manager.

Do u have any Advice??

Randor
November 13th, 2009, 03:46 PM
Hi voodookid,

Sorry about the delay... I did not get notification of your response. Some questions:

1.) Are you on a 64 bit operating system?
2.) What operating system?
3.) What version of the DDK are you using?

Best Wishes,
-David Delaune

voodookid
November 13th, 2009, 08:43 PM
Hey,

I've left that sample to get rotten alone :)

I've managed to compile nonpnp that was even more suitable.

If it's important to any one the system details was:
An 32b XP machine running winDDK 7600.16385


Thanks!!!