Embedding and showing an instance of LibreOffice 64 Bit with OleBridge does not work

asked 2017-10-04 11:58:10 +0200

P-Key gravatar image

I don't know if this is the right forum for this technical question. If not, ill appreciate any hint to the right one.

I am trying to use LibreOffice as Ole-Server to embed an instance in my application using the Programming Language Delphi and the OleBridge. I have tested that with 32Bit LibreOffice in my 32Bit Application so far and this works as expected.

Now i also like to use LibreOffice in 64Bit Application - therefore i tested it with 32Bit LibreOffice as well as with 64Bit LibreOffice. The results are the following:

  • 32Bit LibreOffice: fails upon Object Creation with > Class not registered.
  • 64Bit LibreOffice: fails upon Object Activation (using DoVerb, for more information: https://msdn.microsoft.com/en-us/library/windows/desktop/ms694508(v=vs.85).aspx): LibreOffice shows the Document Recovery Window, then immediatly crashes. After that the application itself fails with >> The remote procedure call failed.

For 32Bit, it seems that this wont work at all, so i focused on using 64Bit. I tried different parameters for LibreOffice: With '--norestore', Document Recovery Window is not shown, but the problem still persists. Other parameters have no effect.

Is there any way to fix that? Or is this a general problem of LibreOffice?

I am using Windows 10 (64Bit).

edit retag flag offensive close merge delete

Comments

This is an issue to report to Bugzilla.

Mike Kaganski gravatar imageMike Kaganski ( 2017-10-04 12:40:20 +0200 )edit