I often use Libre Office with Visual FoxPro 9 via automation on Windows Server 2019 Std. When I open Libre Office Writer from VFP using code as shown below. I am unable to close Libre Office by clicking the X in the top right window or by selecting Quit from the file menu. I can close the document but not Libre Office. However, the exact same code is used with Libre Office 6.4 and works just fine as I can close the application. oMergeSrvMgr=CreateObject("com.sun.star.ServiceManager") oMerge=.oMergeSrvMgr.createInstance("com.sun.star.frame.Desktop") laArgs(1)=oMergeSrvMgr.Bridge_GetStruct("com.sun.star.beans.PropertyValue") laArgs(1).Name="ReadOnly" laArgs(1).Value=.N. laArgs(2)=oMergeSrvMgr.Bridge_GetStruct("com.sun.star.beans.PropertyValue") laArgs(2).Name="Hidden" laArgs(2).Value=.T. ComArray(oMerge,10) && convert VFP arrays to COM compatible array oMergeDoc=oMerge.loadComponentFromURL(ConvertToURL(tcFile),"_blank",0,@laArgs) oMergeDoc.getCurrentController().getFrame().getContainerWindow().setVisible(tlVisible) Thanks, Simon
Maybe it's not a VFP specific issue: I reported a similar bug that doesn't involve any external program (https://bugs.documentfoundation.org/show_bug.cgi?id=135748)
I read the description of the bug you reported and that is exactly what I experienced. LO was not locked up but it would not close.
Let's close this as duplicate. *** This bug has been marked as a duplicate of bug 135748 ***