Date: prev next · Thread: first prev next last
2018 Archives by date, by thread · List index


Hi,

are there any known problems with the DocumentLoader Example from
https://api.libreoffice.org/examples/cpp/DocumentLoader and LO x64?

i compiled with vs2015 and was able to execute successful with LO 546 x86.

compiled with x64 SDK (/D "WIN32" /D "WNT" /D "CPPU_ENV=mscx" and linked with: /MACHINE:X64)
it connect to a running LO 546 x64 office in listening mode, but will crash with an exception at:

Reference < XDesktop2 > xComponentLoader = Desktop::create(xComponentContext);

  Ausnahme ausgelöst bei 0x00007FFFED91EA70 (mscx_uno.dll) in DocumentLoader.exe:
  0xC0000005: Zugriffsverletzung beim Lesen an Position 0x0000000000000008.

seems to occur in "Reference.hxx":

inline XInterface * BaseReference::iquery(
    XInterface * pInterface, const Type & rType )
{
    if (pInterface)
    {
        Any aRet( pInterface->queryInterface( rType ) );
 ->  Exception      if (typelib_TypeClass_INTERFACE == aRet.pType->eTypeClass)
        {
            XInterface * pRet = static_cast< XInterface * >( aRet.pReserved );
            aRet.pReserved = NULL;
            return pRet;
        }
    }
    return NULL;
}

Regards
Oliver

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.