Issue 32068 — $ocxhandle executed in the context of the wrong instance
Status: Planned for resolution in 10.4.01
Solution available in patch(es): 10.3.02.028 9.7.05.041
Summary: When invoking a method or property of an OCX control using the $ocxhandle ProcScript function then (in certain scenarios) it can happen that it is executed in the context of another instance (instead in the context of the instance from where $ocxhandle is called). Environment: +Uniface: * Version 9.7 +Operating System: * OS independent +Database: * DBMS independent Symptoms: Uniface uses COM to invoke methods and properties of the OCX control in ProcScript. The $ocxhandle ProcScript functions can be used to invoke methods and set OCX properties. The $ocxhandle function needs to be executed in the context of the instance from where it is called in order to work properly. In certain scenarios it, however, can happen that the $ocxhandle function is executed in the context of another instance. In some cases this issue can even cause $ocxhandle to crash.
There is no known workaround for this problem.