CompuServe Messages

MyWindow on YourScreen

#: 132387 S10/ProgrammingForum unknown
    28-Jun-88 22:50:21
Fm: Mike Berro 73267,3361
To: Vic Wagner 76046,3004

This message turned up in search, but its forum couldn’t be identified from the original transcript, so it may not be linked into its thread.

Vic, The scenario is simple: I redirect func AAA to my code XXX, and then jump to AAA. Someone else redirects XXX to YYY, which then jumps to XXX, which then jumps to AAA. Now I exit. XXX is gone! Boom. One solution is to prevent me from exiting if the func has been redirected (which is easy to detect). To be super safe I can refuse to run if the func has already been redirected (assuming the guy might exit without checking). Cheath has mentioned a library for this problem (which I already knew was being worked on on another BBS). That would solve it if everyone uses it, which may be a pipe dream (cynical me). —Mike