GraphicAccess API function fail with COM error (ImportGraphicFromXML/ExportGraphicToXML)

I'm experiencing error when using GraphicAccess (System Platform 2023 SP1 P01) Wondering if anyone else has encountered the same thing

When calling ExportGraphicToXML, sometimes it works but sometimes it will fail

If the export operation is successful, when calling ImportGraphicFromXML on the just now exported xml to import it back (with no change to the xml file), the import fails

Error message:

 The interface is unknown. (Exception from HRESULT: 0x800706B5)

Parents Reply Children
  • Hi Jordan, 

    I ran into this issue aswell a couple of months ago and I learned that the GraphicsAccess DLL isnt standalone as it used to be, it now seems to have 

    a lot of dependencies from the Visualization namespace. So what I did was to import all the DLLs from the Archestra.Visualization name space to my project and after that it works as expected. 

    Now I'm not 100% sure you need them all but that should give  you a starting point. 

    The DLLs can be found at "C:\Program Files (x86)\ArchestrA\Framework\Bin\"