Urgente Conexão e leitura de DLL

Discussão em 'Progress 4GL' iniciado por Fredaraujo, Junho 3, 2015.

  1. bootstrapmaster

    bootstrapmaster Moderator Moderador Equipe de Suporte

    Não seria mais ou menos assim ????

    Código:
    PROCEDURE ShellExecuteA EXTERNAL "Shell32.dll" persistent:
    
        define input parameter hwnd as long.
        define input parameter lpOperation as char  no-undo.
        define input parameter lpFile as char  no-undo.
        define input parameter lpParameters as char  no-undo.
        define input parameter lpDirectory as char  no-undo.
        define input parameter nShowCmd as long.
        define return parameter hInstance as long.
    
    END PROCEDURE.
    
    E pra usar ....
    Código:
          run ShellExecuteA (input 0,
                             input "open",
                             input "rundll32.exe",
                             input "shell32.dll,OpenAs_RunDLL " + c-doc,
                             input "",
                             input 1,
                             output h-inst).
    

Compartilhe esta Página