Cannot clear class "class" because it is in use. (Error 1770)

The class specified cannot be deleted from a .vcx library file while the class definition is in use. This error can occur when using the REMOVE CLASS command, the OVERWRITE clause of the ADD CLASS command, or the RENAME CLASS command.

  • Issue CLEAR ALL to remove all references to the class and try again.