1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

  2. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

Duvida Executar DLL no OpenEdge Architect

Discussão em 'Progress 4GL' iniciado por lwazevedo, Dezembro 15, 2014.

  1. lwazevedo

    lwazevedo Membro Ativo

    Boa Tarde Pessoal.

    Gostaria de saber se alguém sabe uma forma de executar no OpenEdge Architect uma DLL pois o mesmo não aceita trabalhar com procedures em arquivos .cls e sim methodos.

    se alguém poder ajudar agradeço.


    Obrigado.
  2. Marco Antonio Machado

    Marco Antonio Machado Sem Pontuação

    Olá Luiz

    Do help do progress

    The following example declares a DLL routine, MessageBox(), which displays a message:

    r-dllex1.p

    DEFINE VARIABLE iResult AS INTEGER NO-UNDO.
    MESSAGE " It’s a whole new world!" VIEW-AS ALERT-BOX MESSAGE BUTTONS OK TITLE "ABL Message".
    RUN MessageBoxA (0, " It’s a whole new world, again!!", "ABL DLL Access", 0, OUTPUT iResult).

    PROCEDURE MessageBoxA EXTERNAL "user32.dll":
    DEFINE INPUT PARAMETER hwnd AS LONG.
    DEFINE INPUT PARAMETER mbtext AS CHARACTER.
    DEFINE INPUT PARAMETER mbtitle AS CHARACTER.
    DEFINE INPUT PARAMETER style AS LONG.
    DEFINE RETURN PARAMETER result AS LONG.
    END.

    Espero ter ajudado

Compartilhe esta Página