>> There are two approaches in general: to store the pointer somewhere,
where
>> it is accessible during SysTrap, and the HackMaster approach, which is to
>> allocate a small piece of memory at startup and modify it so that it
>> contains _code_, than points or directly returns that value.
>
>it is possible to save it in database?
I'd say no, it isn't. The DB manager uses some functions that use system
semaphores. This will lead to a "hang" in your application after a minute or
two of work.
At least that's what happened with mine.
BGK