Gave an error in the command:
oServiceManager: = CreateOleObject (‘com.sun.star.lang.ServiceManager’);
This command worked out with “BrOffice”.
I didn’t know that LibreOffice can be used with Delphi
Try delete “.lang”
oServiceManager := CreateOleObject(‘com.sun.star.ServiceManager’);
1 Like