CPPointViewer *ppt = new CPPointViewer(); ppt->m_hWnd = ppt->InitControl(); ppt->AboutBox(); ppt->Export("C:\\xslt.ppt", "C:\\", "bmp", 400, 300);