COM a novice, I want to know this CComObject this template need to implement?
What is CComObject role?
CComObject
* ptrMath;
CComObject : : CreateInstance (& amp; PtrMath);
CComPtr PMath=ptrMath;
If it's not his to achieve
Want to use the code above need to contain what header files?
If we can put up a better source CodePudding user response: