Hello Yaguang Ruan,
Thank you for posting in Q&A forum.
Error code 0x80548212 often indicates an issue with the underlying COM component or a problem in the interaction between your application and the COM library.
- Ensure that the COM components your application relies on are properly registered. You can use tools like regsvr32 to register DLLs.
- Verify that your application has the necessary permissions to access the COM components. Running your application with elevated privileges might help.
- Check the application logs and any diagnostic information available. This can provide more details about what might be causing the failure.
I hope the information above is helpful.
If you have any questions or concerns, please feel free to let us know.
Best Regards,
Daisy Zhou
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.