Home

Communication Horizons
established 1986

Home
Contact

 

Knowledgebase Index
About Us
Contact
Legacy Products


Communication Horizons
65 High Ridge Rd. #428
Stamford CT 06905

support

800-480-1604
203-321-1278
fax  286-1056

       

Knowledgebase


>>ITEM: N00108

>>DATE: 08/30/96

>>TYPE: Information

>>TITLE: Error terminating program with NetLib and Telepathy

>>PRODUCT(S): NetLib (all versions) for Clipper

>>PLATFORMS(S):

>>SUMMARY:
Program using NetLib and Telepathy (Extrasensory Software) generates error and/or hangs at program termination.

>>MORE INFORMATION:
Both NetLib and Telepathy hook interrupts. They must be unhooked in the reverse order in which they are hooked. NetLib will unhook them automatically at program end or explicitly using N_UNHOOK. Telepathy requires the TP_UNINSTALL() function.

>>RESOLUTION/FIX:
Ensure that NetLib and Telepathy unhook interrupts in the reverse order in which they were hooked (NetLib hooks interrupts during N_READY) by explicitly issuing N_UNHOOK immediately before TP_UNINSTALL().

Consider using N_ONQUIT from NetLib or the Clipper EXIT PROCEDURE to ensure that the functions are issued even if the program terminates abnormally.

>>EXAMPLE(S):

N_ONQUIT("MYQUIT")
or
EXIT PROCEDURE
DO MYQUIT
RETURN

* at program end
PROCEDURE MYQUIT
N_UNHOOK()
TP_UNINSTALL()
QUIT
RETURN

>>SEE ALSO:

 

>>COPYRIGHT 1997 Communication Horizons
All rights reserved worldwide. No distribution without specific consent of publisher.


Knowledgebase Top Home

 

© Copyright 2001 Communication Horizons LLC.
“NetLib” and “Encryptionizer” are Registered Trademarks of Communication Horizons.
US and international patents pending.
Updated 29 Dec 2001