I am using Forms 14c and running the Forms application using FSAL. The frmsal.jar is hosted on a Windows OS with JDK17.0.15.
The forms application is using the built in function Get_Window_Property(FORMS_MDI_WINDOW,WINDOW_HANDLE), but it always returns 0.
The documentation for the built-in is states…
“WINDOW_HANDLE Returns the a unique internal VARCHAR2 constant that is used to refer to objects. Returns the VARCHAR2 value '0' if the platform is not Microsoft Windows. ”
The application is running in a JVM on a Windows OS but the Window is a Java window ( SunAwtFrame ) not a Microsoft window, hence 0 being returned.
Because Oracle forms are built for running with FSAL then I believe the scenario above is now the expected standard. Does this mean that the Get_Window_Property(FORMS_MDI_WINDOW,WINDOW_HANDLE) built in is obsolete, or is there an additional configuration/method that needs to be in place for it to function when running on a Windows OS (via JVM)?