Hello,
I'm trying to enable Procedure Exits on MPE/iX 6.0. I wrote using C a simple handler that is to be executed before any call to FOPEN intrinsic.
I wrote an arm and a disarm program also. The handler just prints a message using PRINT intrinsic.
I've tried to enable PE and my handler on SESSION.PUB.SYS process and all processes created by this one.
The handler works fine on processes existing at arming time (the call of PEARM).
BUT, processes that are created when PE and the handler are enabled remain linked to the handler library even after disarming (call of PEDISARM). The disarming works - I mean that the handler is called no more but why do those processes use the handler library?
Not to mention that if use C libraries when linking the handler, it gets my system to freeze.
Can anyone help me on this one or point me on where can I find documentation?
Thank you,
Adrian G. Halmagyi