TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: KEN WAUGH
from: RAFA VELILLA
date: 1997-07-02 02:40:00
subject: I`m new.

Hola Ken!
 RV>> antig=getvect(9);     // I save the old handler vector
 RV>> setvect(9,(*antig)(...));          // I restore the old handler
 RV>> //(*antig)(...);   ********This is the problem*********
 KW> Possibly ?
 KW>   setvect(9,antig);          // I restore the old handler
   Thank you for answering, but I think that is not the problem because it 
occurs when the new handler is on (anyway I have to check if I restore the 
handler correctly).
    I think the problem is on how C++ returns from a function when it uses 
the reserved word 'interrupt', Does it use RTI? Does it restore the interrupt 
mask?
How can I make it manually?
Un saludo
     Rafa
--- FMail 1.02
---------------
* Origin: Yo mismo y mi mecanismo. 93:341/736.96 (2:341/136.96)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.