请运行以下代码,程序将崩溃,是什么问题呢?
#include <easyx.h>
class MyImage : public IMAGE
{
private:
virtual void SetDefault() {}
public:
MyImage()
{
Resize(100, 100);
SetWorkingImage(this);
settextstyle(26, 0, L"Arial");
SetWorkingImage();
}
};
MyImage img;
int main()
{
return 0;
}