在做winCE编辑控件和微调按钮开发,DEBUG时,只是输出:
加载模块: EditUser.exe
加载模块: coredll.dll
程序“[6ff000e] EditUser.exe”已退出,返回值为 1067 (0x42b)。
然后没有任何界面显示就退出.是因为在
int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE prehInstance, LPTSTR lpCmdLine, int nCmdShow )
{
DialogBox(hInstance,MAKEINTRESOURCE(IDD_DIALOG1),NULL,About);
CommandBar_Show(NULL,TRUE);
return 0;
}
创建对话框语句后没有加上"CommandBar_Show(NULL,TRUE);"无法显示,加上这句就可以正常显示输出;