How to use libreoffice with Delphi

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 :slight_smile:

It can :slight_smile: See here

Try delete “.lang”

oServiceManager := CreateOleObject(‘com.sun.star.ServiceManager’);

1 Like