[comp.sys.mac.programmer] "Volume Not Found

jyp@wucs1.wustl.edu (Jerome Yvon Plun) (01/22/91)

Upon termination of a program, MacsBug was triggered with a Bus Error
in OfsetRgn, with the current application Think C (i.e. both my program
and the debugger had terminated).

An ea command gave me the desktop back with two alerts:
- one with a bug icon (hence probably from the debugger and related to the
problem) and the message "Volume Not Found ('myProject.pi').
- Multifinder error message: the application Think C has unexpectedly quit (1).

After clicking in the button of the multifinder alert, I discovered I was still
in Think C but my project was closed.

I have a call to PBWDClose at the end of my program.  The parameters I am using
have been provided by a previous PBWDOpen call.

How is it that closing a directory results in Think C closing its project (which
seems to be presented to the system as a volume)?

jerome

Jerome Plun	jyp@wucs1.wustl.edu       // Tell me why is it so hard to say
Dept of Computer Science                  // Brother don't you walk away
Washington University                     //
St. Louis, Mo                             // Hooters     "Zig Zag"