|
| |
Knowledgebase
>>ITEM : N00079
>>DATE: 07/10/96
>>TYPE: Information
>>TITLE: Memory saving tips (if not using N_ON*, N_CHECK*, or N_SETKEY)
>>PRODUCT(S):
NetLib 6.5x for Clipper
>>PLATFORMS(S):
Clipper (all versions)
>>SUMMARY:
If you are using none of the NetLib features that require hooking
interrupts, you can same memory.
>>MORE INFORMATION:
Using any of the following functions/features requires that NetLib "hook"
various interrupt vectors:
N_ON* (N_ONTICK, N_ONANYKEY, etc.)
N_CHECK? (N_CHECKU, N_CHECKS, etc.)
N_TIMEOUT, N_BLIP
Encryption (N_SETKEY, N_ENCODE, N_ENCODESTR, etc.)
N_SECURE
If you are using none of these features you can omit the portion
of NetLib that hooks interrupts, saving about 10K of base memory.
We would never, of course, suggest forgoing an important feature
simply to save some memory.
>>RESOLUTION/FIX:
Include file NOHOOK.OBJ in your link script. It may cause a
benign warning "Duplicate Symbol N_UNHOOK" which can be ignored.
>>EXAMPLE(S):
#Blinker, RTLink, Exospace:
FILE NOHOOK
>>SEE ALSO: Save 10K of memory using Blinker overlay mode.
>>COPYRIGHT 1997 Communication Horizons
All rights reserved worldwide.
No distribution without specific consent of publisher.

| | |
|