Problem: 1654714

Title: NewStdObject and NewObjectBySignature are broken in MacApp release 11

Received: May 12 1997 11:12AM


NewStdObject and NewObjectBySignature are broken in MacApp release 11.

The problem occurs because both methods call ClassDesc::NewBySignature(signature), which returns type MStreamable, but then casts to TObject, which is not a subclass. The methods should return MStreamable instead of TObject (or removed from sources).


Fix:

This is fixed. It can be verified by creating views from templates and making sure that the class names are not included in the view resources only the class signatures.