<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><div> Hi there,</div><div><br></div><div>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:</div><div><br></div><div>"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()"</div><div><br></div><div>Does anyone know what the problem is? Has anyone got the .NET components working with the 64 bit version?</div><div><br></div><div>Code example below:</div><div>XComponentContext xLocalContext = Bootstrap.bootstrap();</div><div><br></div><div>Thanks</div> </div></body>
</html>