#include <afxwin.h>class my_GUI: public CFrameWnd
{
public:
my_GUI()
{
Create(NULL, "Let's see if this is the window title");
}
};class my_App: public CWinApp
{
public:
BOOL InitInstance()
{
a_GUI = new my_GUI();
m_pMainWnd = a_GUI;
m_pMainWnd -> ShowWindow(1);
}
private:
my_GUI * a_GUI;
};
{
public:
my_GUI()
{
Create(NULL, "Let's see if this is the window title");
}
};class my_App: public CWinApp
{
public:
BOOL InitInstance()
{
a_GUI = new my_GUI();
m_pMainWnd = a_GUI;
m_pMainWnd -> ShowWindow(1);
}
private:
my_GUI * a_GUI;
};
{
public:
my_GUI()
{
Create(NULL, "Let us see if this is the window title");
}
};class my_App: public CWinApp
{
public:
BOOL InitInstance()
{
a_GUI = new my_GUI();
m_pMainWnd = a_GUI;
m_pMainWnd -> ShowWindow(1);
return 1;
}
private:
my_GUI * a_GUI;
};
a_GUI->Create(...);//把Create放在这里试试
m_pMainWnd = a_GUI;
m_pMainWnd -> ShowWindow(1);
看一下断点在哪里啊