Does anyone know if these two work together on Windows?
I have written a program that works against the full version but our clients have Libre Office Portable installed and I am failing to get my program connected to Portable LibreOffice. I am getting a NoConnectException. Before I dig down any further I would like to know If I should try based on whether they do work or not? I have seem many questions about it not working on the Portable Libre Office website.
Does it use a component that is registered with Windows (aka in the Windows registry or local file system)? If so, then it will not work with the portable version. With portable software, you can only access the components directly by their file path or via API calls while they are already running.
Sometimes, the impossible can become possible, if you're awesome!
That's what I'd like to know I suppose. My program does not use the registry at all. My program starts the soffice executable via the bootstrap function but cannot communicate to the running program - in the IDE I see the SDK throws a NoConnectException.
UNO exception: Connector : couldn't connect to socket (WSANOTINITIALISED, WSAStartup() has not been called)
The LibreOffice UNO C++ SDK does work with Portable LibreOffice.
anything to note in case someone comes up against this again?
Wm
I wrote a program for the MAC that worked with the Full Version and then went to Windows and tried to compile the same program for LibreOffice Portable and it just failed opening and saving the files. However I could tell the UNO bridge was partially working (I could send the text in the file via the C++ bridge to an open blank writer document).
I then created a Virtual Machine installed the full LibreOffice and my program still did not work - same exceptions. So I looked inside my program. I was prepending "file://" instead of "file:///" to the full path of the file being converted and I also changed to Unix style paths so - '\\' became '/' in my program.
I hope this helps someone in the future.