Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Interrupt Handling under XP 1

Status
Not open for further replies.

kun4

Programmer
Feb 11, 2005
2
BG
I have problem writing program to control some hardware connected to my parallel or serial port. Under Win 9x it was no problem to write my own ISR to read, write or to
to handle int from these ports using assembler or CreateFile or ... BUT in XP this just not work. I use some drivers (io.dll, zlportio.sys, ...) but These make me only
to read and write. HOW CAN I HANDLE INTERRUPT FROM parallel or serial port UNDER XP or NT???

PS. my favorite env. - DELPHI
 
The issue is not XP per se, but that you are in Protected Mode of the processor. This is why an exception is thrown under XP but not Win9x if you attempt direct port controls.

You need to use a shim port driver before attempting your direct control:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top