One of the members of this class is based on a nonvisual class.  Cannot write .VCX file (Error 1965)

You have included a non-visual class in your class definition.

Remove it and try again.