Help needed in interrupt handling

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

H
I want to know how to handle interrupts (enable and disable) in VC++ 6.0 ? Are there some built-in functions that could solve the purpose..
Regard
Ashutosh Dikshit
 
Ashutosh said:
Hi
I want to know how to handle interrupts (enable and disable) in VC++
6.0 ? Are there some built-in functions that could solve the
purpose... Regards

You cannot handle or in any way touch interrupts from a user-mode program,
regardless of the language or tool used to write it.

What is it that you're really trying to do - i.e. why do you think you need
to disable interrupts?

-cd
 
I have a similar situation. I am using a counter card that can generate interrupts and I need my program to handle them somehow. I too am using Visual C++ 6.0.

Phillip Anderson
panderson_AT_gmheng_DOT_com
 
Phillip Anderson said:
I am using a counter card that can generate interrupts
and I need my program to handle them somehow.
I too am using Visual C++ 6.0.

The compiler is beside the point. Neither the 9x platforms (95/98/ME) nor
the NT platforms (NT/2K/XP/2K+3) permit a 32 bit, user mode program to
handle interrupts. 9x, being schizophrenic, allows 16 bit programs to handle
16 bit interrupts.

You will need to write kernel-mode, driver code or invest in a driver
toolkit.

Regards,
Will
 
Phillip Anderson said:
Is there a specific Driver Toolkit that you can recommend?
Let's just say that writing kernal-mode driver code is
probably a bit beyond me.

It's beyond most of us. I seem to recall that there was a company named
BlueWater or something selling a product whose name escapes me now. If no
one chimes in here, post again in the kernel group, perhaps mention the
board. You'll probably get a recommendation. If not, every once in a while
you'll find a vendor there hawking something there too.
Thanks for your help!

You are welcome.

Regards,
Will
 
Back
Top