hi aimadati,
On 10.02.20 11:07, aimadati . wrote:
Hi,
I've downloaded SDK 6.4.0.3.
Linked all dll's in cli folder and compiled SpreadsheetDocHelper in a 
.Net core 3.1 project.
but i'm getting an error at bootstrap
System.InvalidOperationException : Handle is not initialized.
    at System.Runtime.InteropServices.GCHandle.FromIntPtr(IntPtr value)
    at uno.util.to_cli<class 
com::sun::star::uno::XComponentContext>(Reference<com::sun::star::uno::XComponentContext>* 
x)
    at uno.util.Bootstrap.bootstrap()
This code was working in .Net Framework 4.x
most likley the CLIuno bridge has never been tested with .Net Core, and 
you're the first one to try.
maybe there are incompatible changes between .Net Framework and .Net 
Core, i have no idea; the backward compatibility of .Net was 
historically never as good as e.g. Java.
if you can figure out how to fix the problem, please upload patches to 
gerrit.libreoffice.org :)
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.