Remarks:
The GetAppHandle method returns the Application Instance Handle for the Corel application that is running a script. For example, if you are running the script from the Corel SCRIPT Editor, GetAppHandle returns the Application Instance Handle for the Corel SCRIPT Editor; if you run a script from Corel VENTURA, GetApphandle the Application Instance Handle for Corel VENTURA. This function is used in conjunction with DLL calls that require the application's handle. The return value specifies a numeric variable that is passed the Application Instance Handle.