Date: prev next · Thread: first prev next last
2016 Archives by date, by thread · List index


 Hi there,
I have written a very small dummy program that simply calls the Bootstrap.bootstrap() method. If I 
install LibreOffice and the SDK (32 bit version) and place the path "C:\Program Files (x86)\Libre 
Office 5\program" into my PATH system variable and then run the dummy program it works just fine 
but if I install LibreOffice and the SDK (64 bit version) and change the path to "C:\Program 
Files\Libre Office 5\program" and then run the dummy program again it fails with the following 
message:
"System.OverflowException: Arithmetic operation resulted in an overflow.\r\n   at 
Mapping_uno2cli(_uno_Mapping* mapping, Void** ppOut, Void* pIn, _typelib_InterfaceTypeDescription* 
td)\r\n   at com.sun.star.uno.Mapping.mapInterface(Mapping* , Void** ppOut, Void* pInterface, Type* 
rType)\r\n   at uno.util.to_cli<class 
com::sun::star::uno::XComponentContext>(Reference<com::sun::star::uno::XComponentContext>* x)\r\n   
at uno.util.Bootstrap.bootstrap()"
Does anyone know what the problem is? Has anyone got the .NET components working with the 64 bit 
version?
Code example below:XComponentContext xLocalContext = Bootstrap.bootstrap();
Thanks                                    

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.