Class A
{
MSXML2: : IXMLDOMElementPtr XXX;
}
And where do I need to call CoInitialize and CoUninitialize?
The constructor calls CoInitialize
Then the destructor call CoUninitialize?
I found this also not line, smart Pointers and memory access errors, XXX will run to comip. The release in the h () error
CodePudding user response:
In the analytic function call xx. The first Release, and then call CoUninitializeCodePudding user response:
Look to the successful CoInitialize first, and then every step of the pointer to create success