Fabiano,

vou fazer os testes

Obrigado.


    Joatam C. Vilarinho
Sistema de Almoxarifado
 [EMAIL PROTECTED]
         (61) 274-8838
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 06, 2002 11:10 AM
Subject: Re: [sqlwin] CUPOM FISCAL - IMPRESSORA BEMATECH



Oi Joatam,

Voc� pode chamar DLL's no Centura de duas maneiras:
1) Usando o nome exato que a fun��o foi declarada na DLL (com Export
Ordinal = 0)
Library name: MPR.dll
     Function: WNetGetUserA
          Description:
          Export Ordinal: 0
          Returns
               Number: DWORD
          Parameters
               String: LPCSTR
               Receive String: LPSTR
               Receive Number: LPDWORD

2) Usando o Export Ordinal da fun��o na DLL (voc� define o nome que desejar
usar no Centura)
Library name: MPR.dll
     Function: fBuscaUsuarioRede
          Description:
          Export Ordinal: 003c
          Returns
               Number: DWORD
          Parameters
               String: LPCSTR
               Receive String: LPSTR
               Receive Number: LPDWORD


Para voc� pegar o Export Ordinal de uma fun��o numa DLL, se voc� estiver
usando WinNT basta clicar com o bot�o direito na DLL e selecionar "Quick
View". Ir� abrir um arquivo texto onde voc� ter� de achar a se��o Export
Table, onde estar�o declaradas todas as fun��es da DLL.

Caso voc� n�o possua essa DLL num ambiente WinNT, tente arrumar o programa
TDUMP.EXE (vem com o Bolrando C++) que ele faz a mesma coisa.

Com isso voc� poder� referencia a fun��o que precisa e atribuir um nome
qualquer dentro do Centura, com menos de 32 caracteres.

Espero ter ajudado

Sds
Fabiano Reis
WestLB - Banco Europeu
Systems Development
tel: 55 + 11 + 5504-9833
fax: 55 + 11 + 5504-9933






          "Joatam C Vilarinho" <[EMAIL PROTECTED]>

          Sent by: [EMAIL PROTECTED]


          06/09/02 10:54


          Please respond to sqlwin






To:   <[EMAIL PROTECTED]>
cc:
Subject:                   [sqlwin] CUPOM FISCAL - IMPRESSORA BEMATECH


Ao desenvolver um  aplicativo o mesmo dever� imprimir CUPOM FISCAL na
impressora BEMATECH para isso preciso usar a DLL BMAFI32.DLL s� que essa
DLL tem v�rias fun��es com nome contendo mais de 32 caracteres e o CENTURA
s� aceita fun��es com nome de at� 32 caracteres.

Algu�m j� usou essa DLL, ou seja, algu�m j� passou por esse problema??

Joatam








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