The Window class getHwnd method returns the Microsoft Windows handle for a form or control.
Call the getHwnd method instead of the Window class hwnd method when presentation clients are running in a 64-bit environment.
Although these methods return the same value if the value is a 32-bit integer, if you call the hwnd method and the Window handle is larger than a 32-bit integer, an exception is raised.