How to write an OLE server application (Linux/Windows)?

This may be a rather technical question for this forum and/or I may be rather confused by the issue right now, so any hints to a different forum are greatly appreciated.

I have a Qt application that is used for drawing molecular structures and would like to embed those in e.g. Writer text documents. What originally came to mind to do this was to use OLE/ActiveX/ActiveQt. But one condition is that it should also run under Linux and so far I’ve managed to find out that OLE is a Windows-only framework. However, my Linux LibreOffice still has commands for embedding OLE objects (of other LO applications).

  • How does this work?
  • Where do I find it in the source code?
  • Is there a way for external applications to “hook into” this mechanism?

Hi Hendrik

As I understand it (I’m no expert on this) OLE is, indeed, a Windows-only facility. Thus, if you use it, you will almost certainly be restricted in your application to the Windows platform.

Oops.

If this helps then please tick the answer (:heavy_check_mark:)

…and/or show you like it with an uptick ()