BOOL C工程名App::InitInstance()
{
AfxEnableControlContainer();
{
AfxEnableControlContainer();
::CoInitialize(NULL);
对话框类1 dlg;
if(dlg.DoModal()==IDOK)
{
对话框类2 dlg;
dlg.DoModal();
}
::CoUninitialize();