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) =============================================