[comp.sys.mac.programmer] SF[P]{Put,Get}File

tom@iconsys.UUCP (Tom Kimpton) (09/15/89)

I have a code resource that can be called at any time.  It
may put up an SFGetFile or an SFPutFile.  It works fine,
except ... when it comes up over another PACK 3 (SF[P]{Put,Get}File) routine.
Then when it comes back to the original PACK 3 routine, it's
locked up, the mouse will move but nothing works, clicking or
return.

I've tried to determine if PACK 3 is in use, but haven't figured
out anything, I've tried saving SFSaveDisk and CurDirStore, saving
all the registers, nothing seems to work.  I've thought of patching
PACK 3 to tell me that it is in use, but I'm not sure I like that
solution.  Would saving ALL the low globals help :-)?

Anyone know how I can get two PACK 3 routines to peacefully coexist,
or at least a better way to detect their use?

Thanks!
-- 
Tom Kimpton                    UUCP: {uunet,caeco,nrc-ut}!iconsys!tom
Guest Account		       ARPANET: icon%byuadam.bitnet@cunyvm.cuny.edu
Icon International, Inc.       BITNET: icon%byuadam.bitnet (multi-user acct)
Orem, Utah 84058               PHONE: (801) 225-6888