Legacy Reflection VBA method GetMacroList() returns empty string

  • 7023039
  • 31-May-2018
  • 03-Jul-2018

Environment

Reflection Desktop (including Pro, for IBM, or for UNIX and OpenVMS) 16.0 or higher
Reflection 2014
Reflection Pro 2014
Reflection for IBM 2014
Reflection for UNIX and OpenVMS 2014
Reflection for IBM 2011
Reflection for UNIX and OpenVMS 2011
Reflection Standard Suite 2011

Situation

In Reflection Desktop, the legacy Reflection version 14 VBA method for GetMacroList() returns an empty string ("\0") instead of returning a comma delimited list of all the macro names. 

The sample code below will show the problem when run in a host session::
    Sub Test1()
        a = GetMacroList()
        MsgBox a
    End Sub

Resolution

If using Reflection Desktop 16.0:
        Upgrade to Reflection Desktop 16.0 SP1 HF17 or higher (16.0.478)
If using Reflection Desktop 16.1:
        Upgrade to Reflection Desktop 16.1 SP1 or higher

A HotFix (HF) for Reflection Desktop is a cumulatively built product update, intended for limited distribution, which addresses specific customer issues and enhancement requests; outside the regular Development release cycle. It is only available to Micro Focus customers with current software support and maintenance contracts, and only after contacting Micro Focus Customer Support directly.  A HotFix undergoes limited stability and quality testing and is intended for quick release to address specific product issues and should not be deployed to production environments without thorough testing.  It is recommended to upgrade to a full-release or a Service Pack version of Reflection Desktop when it becomes available.