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:

Drag Manager & the -600 (procNotFound) Error

Q Sometimes my application's calls to the Drag Manager fail with a -600 (procNotFound) error. This is not one of the errors listed for these calls. What's up?

A There are three known common causes of this error:
  1. The use of high-level debuggers. Since Drag Manager interacts heavily with Process Manager, as does the typical high-level debugger, conflicts inevitably develop. There's no work-around for this problem except to ask your debugger vendor to improve its behavior when debugging Drag Manager code. If your code is encountering such a problem, it should run fine when the debugger is not involved.

  2. Passing TrackDrag an EventRecord whose 'where' field is expressed in local coordinates. (This can also result in a crash, but sometimes simply results in a -600 error.) Such 'where' fields often point outside the window in which the drag originates.

  3. Attempting to use the Drag Manager with Text Services Manager windows when the 'gestaltDragMgrFloatingWind' bit is not defined in the response to the 'gestaltDragMgrAttr' Gestalt selector. The value of this bit denotes whether a Drag Manager bug with TSM windows is fixed on the system under which your app is running.

In the second and third cases, Drag Manager has a hard time associating the source window with a process. Some operations can succeed even without a clear owning process, so Drag Manager limps along as best it can for a while in the hopes that it won't be asked to do anything which requires a ProcessSerialNumber. When it is, the operation fails.

[Aug 21 1996]


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.