c++ app samples that communicates with libreoffice, to work with a CALC doc.

nicholas ferguson nicholasferguson at wingarch.com
Mon Sep 29 06:08:58 PDT 2014

On 09/29/2014 02:26 PM, nicholas ferguson wrote:
> Can anyone send me a sample.  sample can be for a linux or windows
> platform.

>>Stephan replied:

For this example to qualify as a sample for an external C++ console
application, I have to build this code into an executable.

I replaced
line 52:  SAL_IMPLEMENT_MAIN_WITH_ARGS(argc,argv) 
int main(int argc, char* argv[])

then it builds but it crashes at  ( it also crashes there...even if I keep
Line 75:  Reference< XDesktop2> xComponentLoader =

error msg is that abort() was called.  
And assertion failed value.is(). file binaryurp/source/marshall.cxx  line

How to make this work?  Do I need a putenv(token=value) or is it a

Can you send me a Visual Studio Project where this works? 

More information about the LibreOffice mailing list