[stackoverflow] [progress Openedge Abl] Openedge 10.2a - Input Through Set Does Not Work...

Status
Not open for further replies.
A

aza

Guest
We were using below code to get the name of the computer.

def new shared var cHost as char format "x(40)" no-undo.
INPUT THROUGH hostname NO-ECHO.
SET cHost.
INPUT CLOSE.
DISPLAY chost.


After we have updated our computers (Windows 10 - 1703), it no longer works. It seems SET cHost is the part where it fails. I have tried IMPORT UNFORMATTED cHost but it does not work.

PS: I can get computer name using OS-GETENV("COMPUTERNAME") but I have to do it using INPUT THROUGH statement.

Continue reading...
 
Status
Not open for further replies.
Top