Dear sir,

How handle interrupts in vc++.
I have done in turboc it was working fine, the interrupt i
used there is parallel port IRQ7.
I want to know how to declare and handle interrupt in vc++.

by
ashok

Re: interrupts in vc++ by Carl

Carl
Sat Nov 22 09:04:39 CST 2003

ashok wrote:
> Dear sir,
>
> How handle interrupts in vc++.
> I have done in turboc it was working fine, the interrupt i
> used there is parallel port IRQ7.
> I want to know how to declare and handle interrupt in vc++.

You don't.

Interrupts are a low-level hardware concept and have no bearing on user-mode
Windows programs. In order to handle an interrupt, you need to write a
Kernel device driver.

What is it that you're really trying to do? Most likely there's already a
way to do it without hooking hardware interrupts.

-cd