Skip to content

Default return value(s)

viltbalint edited this page Jan 11, 2018 · 8 revisions

Issue IV: DLL call returns default values in case of exception

Example use-case: call operation on object

  • Invalid operation called and function throws a LabVIEW error
  • There is twi kinds of result: {OPERATION_SUCCESS (default), UNSUCESS_OPERATION}

Issues_1

Problem

Issues_1

Workaround:

Issues_1

  • Configured in .NET build specification

Issues_1

NOTE:

  • This workaround introduces a new "bug" which is explained here