I am trying to catch the interrupt 9 ( keyboard interrupt ) with the
following c code.
#include "dos.h"
void interrupt (*p)();
void interrupt do();
void main()
{
prev=getvect( 9 );
setvect( 9, do);
...
}
void interrupt do()
{
.../*to do when the interrupt is caught*/
..
}
the turbo c++ compiler is pointing to the line prev=getvect(9,do) and
telling that unsigned long int can not be converted to void interrupt(*)();
please help.
suman
--
To unsubscribe, send mail to [EMAIL PROTECTED] with the body
"unsubscribe ilug-cal" and an empty subject line.
FAQ: http://www.ilug-cal.org/help/faq_list.html