PowerBuilder · Runtime error
What does R0021: Bad runtime function reference mean in PowerBuilder?
A compiled reference to a function or object no longer matches what is actually in the library, most often because the object changed after the calling code was compiled but was never regenerated.
A compiled reference to a function or object no longer matches what is actually in the library, most often because the object changed after the calling code was compiled but was never regenerated.
Full regenerate (not incremental build) the application after any structural change to an object, since incremental builds can leave stale references behind that only surface at runtime.