winkler@Apple.COM (Dan Winkler) (05/08/88)
The reason I copy XCMDs before executing them is that the original copy is returned to me by the resource manager. If the XCMD goes to another stack, the resource fork it came from gets closed and the memory it resides in gets deallocated. An improvement I might make is to copy the XCMD just once and save that copy (in a purgeable handle) so that all successive invocations would not require any copying.