When a native function package like ooDialog has call-backs which re-attach
through AttachThread() the call-back has just a ThreadContext available.
This makes it difficult for the call-back to search for its own classes
loaded with a ::requires.

FindClass() is available in a ThreadContext but will only search the REXX
package.
FindContextClass() is unavailable for a ThreadContext.
FindPackageClass(), GetPackagePublicClasses() or similar require a Package
object to search.
ooDialog used to re-load the full ooDialog.cls with LoadPackage which I
think is a bit desperate.

Is there a decent way to access own classes from a ThreadContext?
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to