Сравнение версий

Легенда

  • Эта строка добавлена.
  • Эта строка удалена.
  • Форматирование изменено.

...

Примечание

I have found the solution myself. With click-to-run, Office installation does not register typelibs in HKCR\Typelib. Instead, it registers typelibs in HKLM\SOFTWARE\Microsoft\Office\ClickToRun\REGISTRY\MACHINE\SOFTWARE\Classes\TypeLib. VBAs running in Office is aware of the location and runs fine. External application is not aware of the location. So the solution is to run regtlib.exe on mso.dll to register Office typelibs in HKCR\Typelib so that external applications can run OLE Automation correctly.

Чуть подробнее по веткам MS Office https://stackoverflow.com/questions/43400794/interface-not-supported-error-when-attempting-to-open-excel-or-word-from-delph