I have the below in a project:
77 SW-SHOW USAGE IS UNSIGNED-INT VALUE IS 5.
01 OPEN-COMMAND.
05 FILLER PIC X(04) VALUE IS "OPEN".
05 FILLER PIC X(01) VALUE IS X"00".
01 WS-ADDRESS PIC X(250) VALUE "http:\\\\www.google.com".
-----------------------------------------------------------------------------
CALL "@[DISPLAY]:shell32.dll".
CALL "@[DISPLAY]:ShellExecuteA" USING
BY VALUE 0,
BY REFERENCE OPEN-COMMAND,
BY REFERENCE WS-ADDRESS,
NULL,
NULL,
BY VALUE SW-SHOW.
CANCEL "@[DISPLAY]:ShellExecuteA".
CANCEL "@[DISPLAY]:shell32.dll".
When this logic is called from a desktop application (minus the @[DISPLAY]:) it works perfectly, logic hits and web browser is opened to the correct page. Once we add the @[DISPLAY]: to the statements and call this program using Thin Client it will pull up the web browser to the correct page, but the application hangs and never gets to the first CANCEL statement.
Does anyone have any clues as to what might be the issue?