<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - bootstrap exception when running C# application with LibreOffice API"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=94265#c37">Comment # 37</a>
              on <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - bootstrap exception when running C# application with LibreOffice API"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=94265">bug 94265</a>
              from <span class="vcard"><a class="email" href="mailto:cyrwae@hotmail.com" title="Cyril Waechter <cyrwae@hotmail.com>"> <span class="fn">Cyril Waechter</span></a>
</span></b>
        <pre>Same issue for me on LO 6.0.2.1 64 bits win 10 using ironpython.
Following code fixed the `System.Runtime.InteropServices.SEHException` :
import os
lo_path = r"C:\Program Files\LibreOffice\program"
if lo_path not in os.environ["PATH"]:
    os.environ["PATH"] = "{}{};".format(os.environ["PATH"],lo_path)

But when running :
from uno.util import Bootstrap
xcontext = Bootstrap.bootstrap()

xcontext return an object instead of an XComponentContext but it is probably
not related (might be an ironpython issue).

case related here :
<a href="https://ask.libreoffice.org/en/question/149748/cli-what-replace-deprecated-bootstrap-lo-602/">https://ask.libreoffice.org/en/question/149748/cli-what-replace-deprecated-bootstrap-lo-602/</a></pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>