Open napasa opened 6 years ago
Can you let us know more about when and where you see this problem:
Regards Vittal
If running an Office repair doesn't work, does the following thread help: https://social.technet.microsoft.com/wiki/contents/articles/18919.c-ppt-to-pdf-unable-to-cast-com-object-of-type-microsoft-office-interop-powerpoint-applicationclass-to-interface-type-microsoft-office-interop-powerpoint-application.aspx
Thanks your response. Wow! It works good when I run it on Power Shell. I run it on git-bash before. emmmm, maybe you can add more details to tell user to run it on Power Shell. Another question, do you consider to support PDF file to Office doc file? I know Word2013 could support it. Thanks vittal response
Now same error report again even I use Power Shell. I also read link you pasted, It didn`t work for me
fix it. Please add more info to read.md to tell user to run ps or other cmd line as a administrator
Unable to cast COM object of type 'Microsoft.Office.Interop.PowerPoint.ApplicationClass' to interface type 'Microsoft.Office.Interop.PowerPoint._Application'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{91493442-5A91-11CF-8700-00AA0060263B}' failed due to the following error: Error loading type library/DLL. (Exception from HRESULT: 0x80029C4A (TYPE_E_CANTLOADLIBRARY)).