Error 593 - Dual or Automation interface is required

Dual or Automation interface is required - OBJRESULT is only valid in a DUAL or IAUTOMATION interface.