#include <afxwin.h>
void testMe(CDataExchange *cdataExchange)
{
return;
}

If a constructor of a class that is not analyzed in Controller Tester is used, the default constructor is automatically selected.
If the above example is run without modification, the default constructor is chosen, resulting in “error C2512: No suitable default constructor available.” It prints a message and a compilation error occurs.

In this case, as in the example above, you can solve the problem by directly entering the appropriate constructor of the class in the user code.

Need more help with this?
Don’t hesitate to contact us here.

Thanks for your feedback.