"IMPLEMENT_SERIAL(classname,baseclassname,scemanumber)";
and some times we response a error message like this.
error C2512: 'classname' : no appropriate default constructor available
SDIView.cpp
and some times we confused that we will used constructor in this class. but this constructor is parametrized constructor to used default constructor simply by this method
classname(){}
your error is removed.