<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">For one, the SingletonComponent.components contained an unexpanded<br>
<br>
  environment="@CPPU_ENV@"<br>
<br>
attribute.  Replace "@CPPU_ENV@" with the actual environment name ("gcc3" for GCC-based Linux/macOS/etc., "msci" for 32-bit Windows/MSVC, "mscx" for 64-bit Windows/MSVC; see gb_CPPU_ENV in solenv/gbuild/platform/).<br>
<br>
For another, note that specifying the environment in the .component file is a LibreOffice-internal optimization (that may change again in the future and should not be used in extensions; see <<a href="https://cgit.freedesktop.org/libreoffice/core/commit/?id=b1d65c9f1535c9ef283d2a91a225359e5983f747" rel="noreferrer" target="_blank">https://cgit.freedesktop.org/<wbr>libreoffice/core/commit/?id=b1<wbr>d65c9f1535c9ef283d2a91a225359e<wbr>5983f747</a>> "Allow setting environment value directly in .component files"). Extensions must instead export a C function component_getImplementationEnv<wbr>ironment, see e.g. desktop/test/deployment/passiv<wbr>e/passive_native.cxx.<br>
</blockquote><div class="gmail_quote"><br></div>Thanks a lot Stephan. Works fine now after implementing component_getImplementationEnvironment and component_getFactory instead of mentioning environment and constructor in .components xml file.<div><br></div><div>Regards,</div><div>Dennis</div></div></div></div>