Skip to content

Export lvlibp method

viltbalint edited this page Jan 9, 2018 · 4 revisions

Issue V: Can’t export methods from packed library

Use-case

  • Methods need to be exported to .NET DLL
  • Example:
    • Factory.createA() returns A object
    • A.foo() interface have to be available --> A.foo() methods have to be exported in .NET DLL build specification
    • "A" class is in packed library

Problem

  • LabVIEW doesn´t allow to export methods from packed libraries

Issues_1

Workaround (limited)

  • Wrap casting interface to implementation object
  • Limitation: not acceptable in case of multiple implementations