[comp.sys.mac.programmer] SFPGetFile hooks

system@asuvax.eas.asu.edu (Marc Lesure) (04/09/91)

I'm using SFPGetFile with my own DlgHook procedure to handle my own
buttons.  When my button is hit (a NEW button), I want to put up a
SFPutFile dialog so that I can create a new file. Two problems arise:

1) If I use a different DlgHook with the  SFPutFile, the system crashes.
   If I pass a 0L, it works. (I need to change some of the text, so I need
   the DlgHook procedure.)

2) Is there a way of passing the reply from the SFPutFile back to and
   through the SFPGetFile call?  (I want to avoid using global variables
   if I can).

Any ideas?

-----------------------------------------------------------------------
Marc Lesure / Arizona State University / Tempe, AZ
"Between the world of men and make-believe, I can be found..."
"False faces and meaningless chases, I travel alone..."
"And where do you go when you come to the end of your dream?"

UUCP:       ...!ncar!noao!asuvax!lesure  
Internet:   lesure@asuvax.eas.asu.edu