OpenEdge 10.2A - INPUT THROUGH set does not work after Windows Update 1703 on Windows 10

Discussão em 'StackOverflow' iniciado por fdantas, Abril 25, 2017.

  1. fdantas

    fdantas Administrator Moderador

    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...

Compartilhe esta Página