Exception in DocumentLoader.cxx
Posted: Wed Jul 09, 2014 9:25 pm
Hi,
I'm a beginer in SDK libre office and I have got some problems
First I use this command to launch Libre office :
With this command I have got in LibreOffice listenning on port 2083 (I Have check it with
Then I have compile and run http://api.libreoffice.org/examples/Dev ... amples.cxx. Result is (pi ( here 3.14159 ) multiplied with 42 gives 131.94678.) There is no link with LibreOffice but
Then again compile and run http://api.libreoffice.org/examples/Dev ... onnect.cxx Result is (Connected successfully to the office)
And again with http://api.libreoffice.org/examples/Dev ... ap_cpp.cxx. Result calc is Open
Now with example http://api.libreoffice.org/examples/cpp/DocumentLoader/ and
program crashed and with debugging problem is at line 135 :
In class Desktop.hpp
with error message Exception non gérée à 0x55131E60 (msci_uno.dll) dans DocumentLoader.exe : 0xC00000FD: Stack overflow (paramètres : 0x00000001, 0x003C2FFC).
If somebody can give me an idea to solve my problem.
Thanks you for yours ideas
I'm a beginer in SDK libre office and I have got some problems
First I use this command to launch Libre office :
Code: Select all
soffice.exe -accept=socket,host=localhost,port=2083;urp;Staroffice.ServicemanagerWith this command I have got in LibreOffice listenning on port 2083 (I Have check it with
Code: Select all
netstat -anThen again compile and run http://api.libreoffice.org/examples/Dev ... onnect.cxx Result is (Connected successfully to the office)
And again with http://api.libreoffice.org/examples/Dev ... ap_cpp.cxx. Result calc is Open
Now with example http://api.libreoffice.org/examples/cpp/DocumentLoader/ and
program crashed and with debugging problem is at line 135 :
Code: Select all
/* Creates an instance of a component which supports the services specified
by the factory. Important: using the office component context.
*/
Reference < XDesktop2 > xComponentLoader = Desktop::create(xComponentContext);
Code: Select all
assert(the_context.is());
::css::uno::Reference< ::css::frame::XDesktop2 > the_instance;
try {
the_instance = ::css::uno::Reference< ::css::frame::XDesktop2 >(the_context->getServiceManager()->createInstanceWithContext(::rtl::OUString( "com.sun.star.frame.Desktop" ), the_context), ::css::uno::UNO_QUERY);
} catch (const ::css::uno::RuntimeException &) {
throw;
}
If somebody can give me an idea to solve my problem.
Thanks you for yours ideas