I am trying to write a program through which I can write data on parallel port. I am using VC++ express in windows 7. The program compiles fine and exe files are created with out any problem. But when I run the exe file a message box pop out saying "the program have stopped execution".
I have tried to debug it with VC++. It generates anohter massage box saying "Unhandled exception at 0x013b1375 in test1.exe: 0xC0000096: Privileged instruction."
I have googled for the solution and found that a file named "inpout32.dll" can provide me a solution. I have tried for the solution using this file. But this is still not working. What could be the reason?
How can I resolve this problem?
Should I have any particular driver to handle this?
I anticipate that this inpout32.dll might work for ME/2000/Xp etc. But it is not working with win 7.