ADC Home > Reference Library > Technical Q&As > Legacy Documents > Mac OS 9 & Earlier >

Legacy Documentclose button

Important: This document is part of the Legacy section of the ADC Reference Library. This information should not be used for new development.

Current information on this Reference Library topic can be found here:

The Improper use of FSClose

Q When running an application, I launch a second application. When I quit the first application, the second application quits and the Finder reports that "the server that contains it has been disconnected". Both applications are on local volumes. What's going on?

A The most likely reason for this is that the Resource Manager's tables have become corrupted. One way to trigger this is to call OpenResFile (to read a preferences file, for instance) and then incorrectly call FSClose to close the preferences file instead of correctly calling CloseResFile.

Along the same lines, make sure that you do not substitute a call to DisposeHandle when you should call ReleaseResource.

[Feb 10 1998]


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.