https://bugs.documentfoundation.org/show_bug.cgi?id=94265

--- Comment #12 from José Hernández Moya <jose.hernan...@regionalsoft.com> ---
Hi!

I am using windows 10 64-bit and developing a C # .Net Framework 4.5
application, which has run on x64, so, you have installed LibreOffice 5.2.3 x64
with your respective sdk.

I managed to replicate this error using the environment variable "UNO_PATH" and
confirm that it still does not see fixes, but, I think the correct thing is to
use the environment variable "PATH" (this is used in x86 and it works).
However, when adding the environment variable as follows:

string variableEntornoPATH = Environment.GetEnvironmentVariable("PATH");
Environment.SetEnvironmentVariable("PATH", variableEntornoPATH + ";C:\\Program
Files\\LibreOffice 5\\program;");


It shows me the following error:

The arithmetic operation has caused an overflow.
It is Mapping_uno2cli (_uno_Mapping * mapping, Void ** ppOut, Void * pIn,
_typelib_InterfaceTypeDescription * td)
At com.sun.star.uno.Mapping.mapInterface (Mapping *, Void ** ppOut, Void *
pInterface, Type * rType)
In one.util.to_cli <class with :: sun :: star :: one :: XComponentContext>
(Reference <com :: sun :: star :: one :: XComponentContext> * x)
In one.util.Bootstrap.bootstrap()


The problem is that there is no information about it and the only thing I found
was the method code here:

Https://github.com/LibreOffice/core/blob/master/cli_ure/source/uno_bridge/cli_bridge.cxx#L96

>From what I can see in the code, it seems to me that there are problems with
the pre-compilation flags. 

ptr= sri::GCHandle::ToIntPtr(sri::GCHandle::Alloc(cliI))
#ifdef _WIN32
                    .ToInt32();
#else /* defined(_WIN64) */                 .ToInt64();
#endif



Anyone have any solutions?

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to