1.对象构造
CComObject<CITest>* test;
CComObject<CITest>::CreateInstance(&test);
2.CComObject转IITest*
test->QueryInterface(__uuidof(IITest), (void **)pVal);
3.IITest**转CComObject*
CComObject<CITest>* test= NULL;
(*pVal)->QueryInterface(IID_IITest, (void**)&test);