Fabiano, mapeie a fun��o ExitProcess, funciona como a SalQuit, mas lhe
permite passar o return code.




!!CB!! 81
Library name: kernel32.dll
        Function: ExitProcess
                Description:
                Export Ordinal: 0
                Returns
                Parameters
                        Number: INT





> ----------
> De:   [EMAIL PROTECTED][SMTP:[EMAIL PROTECTED]]
> Responder:    [EMAIL PROTECTED]
> Enviada:      Quarta-feira, 15 de Maio de 2002 15:20
> Para:         [EMAIL PROTECTED]
> Assunto:      [sqlwin] Retorno de Aplica��o
> 
> Boa tarde lista,
> 
> Estou chamando um execut�vel de uma aplica��o Centura utilizando a Fun��o
> SalLoadApp ou SalLoadAppAndWait, mas n�o consegui retornar par�metros de
> um
> Execut�vel para o outro.
> 
> Olhei o help da SalLoadAppAndWait que menciona um par�metro "nRet", que �
> um Receive String, mas parece que este par�metro s� retorna os c�digos
> padr�o do Windows.
> 
> At� agora n�o achei nenhuma forma de atribuir valor a esse par�metro,
> minha
> �ltima tentativa foi dar "Return 9999" no SAM_AppExit da aplica��o, mas
> ele
> n�o modifica o valor do nRet na aplica��o chamadora.
> 
> Se algu�m tiver alguma id�ia, agrade�o.
> 
> 
> Sds
> Fabiano Reis
> WestLB - Banco Europeu
> Systems Development
> tel: 55 + 11 + 5504-9833
> fax: 55 + 11 + 5504-9933
> 
> 
> 
> ********************************************************************
> ********************************************************************
> Diese Nachricht ist vertraulich. Sie ist ausschliesslich fuer
> den im Adressfeld ausgewiesenen Adressaten bestimmt.
> Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten
> wir um eine kurze Nachricht. Jede unbefugte Weiterleitung
> oder Fertigung einer Kopie ist unzulaessig. Da wir nicht die
> Echtheit oder Vollstaendigkeit der in dieser Nachricht
> enthaltenen Informationen garantieren koennen, schliessen wir
> die rechtliche Verbindlichkeit der vorstehenden Erklaerungen
> und Aeusserungen aus. Wir verweisen in diesem Zusammenhang
> auch auf die  fuer die Bank geltenden Regelungen ueber die
> Verbindlichkeit von Willenserklaerungen mit verpflichtendem
> Inhalt, die in den bankueblichen Unterschriftenverzeichnissen
> bekannt gemacht werden.
> 
> This message is confidential and may be privileged. It is
> intended solely for the named  addressee. If you are not the
> intended recipient please inform us. Any unauthorised
> dissemination, distribution or copying hereof is prohibited.
> As we cannot guarantee the  genuineness or completeness of
> the information contained in this message, the statements
> set forth above are not legally binding. In connection
> therewith, we also refer to the governing regulations of
> WestLB concerning signatory authority published in the
> standard bank signature lists with regard to the legally
> binding effect of statements made with the intent to
> obligate WestLB.
> ********************************************************************
> ********************************************************************
> 
> =============================================Lista de Centura SQLWindows
> Administrador : [EMAIL PROTECTED]
> [ http://www.centuraexplorer.com ]
> Para sair desta lista mande mensagem para:
> [EMAIL PROTECTED] sem nada no Subject e
> com o comando a seguir no corpo da msg:
> "unsubscribe sqlwin" (sem as aspas)
> =============================================
> 
=============================================Lista de Centura SQLWindows
Administrador : [EMAIL PROTECTED]
[ http://www.centuraexplorer.com ]
Para sair desta lista mande mensagem para:
[EMAIL PROTECTED] sem nada no Subject e
com o comando a seguir no corpo da msg:
"unsubscribe sqlwin" (sem as aspas)
=============================================

Responder a