We are migrating from PowerBuilder 12.5 (4953) to PowerBuilder 2017 (1681)
In PowerBuilder 2017 when i Post to an event which has a reference Long array as argument it is no longer an array when it arrives in the event. If i call the event without a post it works fine. In PowerBuilder 12.5 this worked fine with a Post.
See the code below, the upperbound returns -1 because al_rowarray is not an array:
event clicked;LONG ll_selectedrows[]
io_paneDwControl.Event Post PopUp("sendEmail", ll_selectedrows)
end event
event popup(string as_message, ref long al_rowarray[]);
Changing it to 'by value' and now it works...
Now i only have to find an other solution to populate my array argument in the ancestor for use in the descendent...