#462 OLEObject out parameters retrieved via OLEVariant wrong

Classes (182)

When using the OLEObject, parameters to an OLE / COM object can have their value changed and returned to the calling ooRexx script. These are commonly called 'out' parameters.

The OLEVariant class can be used as a transport to return the out parameters to the calling ooRexx script. That was the intent.

There is a bug in that only the first out parameter is returned correctly. If the OLE / COM method invocation has more than one out parameter, the value for the first out parameter is returned, but the rest of the out paramters are not returned.


  • Mark Miesfeld

    Mark Miesfeld - 2007-11-14

    Logged In: YES
    Originator: YES

    Committed revision 1232.

    One variable, arrItem, was being used for two purposes. As an item from an array and as an index of the array. This of course clobbered one of the values. The fix was to use 2 seperate variables for 2 separate purposes.

  • Mark Miesfeld

    Mark Miesfeld - 2010-02-19

    The fix for this item was in the 4.0.0 release.



Cancel  Add attachments