MFC调用com打开文件预览
IPreviewHandler* m_pIP =NULL;
IInitializeWithFile* m_pIFile = NULL;
HRESULT hr = NULL;
CString szFile = filefullpath;
CLSID CLSID_Excel = {0x00020827,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0
原创
2016-11-01 16:53:59 ·
521 阅读 ·
0 评论