• C

interrupts service request in vc 5.0

How I can manipulate the ISRs in vc 5.0 without getvect and setvect.
thanks for all.
reggie1Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
fasterConnect With a Mentor Commented:
What you need is a vxd: device driver, get microsoft DDK to develop a driver.


0
 
reggie1Author Commented:
Edited text of question
0
 
snoeglerCommented:
In Win95/WinNT you can't change ISR's. It is impossible, because all applications are running
on Ring 3(least access ring). You would need Ring 0 access (see protected mode
documentation for more details).
One way is to look for a (commercial) tool which allows this (i think there are some, but
i don't know right now).
Another way is to get the DDK (device driver development kit), but you'll need good
assembler knowledge and a good debugger (SoftICE from NuMega, for example).
I am sorry, but there is no easy solution to that.
For what purpose do you want to change ISR's? You could possibly do this with some DOS
compiler, create a TSR, and launch your application in the autoexec.bat. Interrupt requests
are passed to DOS TSR's which are loaded before windows, if no windows driver catches
the IRQ before it gets to your TSR.
0
 
reggie1Author Commented:
I need modify the IRQ7 to  drive an application with external hardware, thanks for all
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.