Página 1 de 1

tutorial de ADS + Xharbour

Enviado: 09 Mar 2007 19:58
por edutek
Alguem tem um tutorial de como usar o ADS com o xHarbour.

que tem que instalar, da onde baixar e como configurar.


Eduardo Mendes

Enviado: 09 Mar 2007 23:26
por rochinha
Amiguinho

Não tem muito segredo não, mas pra começar:

Código: Selecionar todos

// fw Quick browses feature sample

#include "fw.ch"
#include "ads.ch"
REQUEST _ADS

//----------------------------------------------------------------------------//

function Main()

rddRegister( "ADS", 1 )
rddsetdefault( "ADS" )

SET SERVER LOCAL
SET FILETYPE TO CDX

USE Clientes // Open any DBF...

OrdSetFocus("DIRECCION") // Second Tag on Clientes.cdx
go top

Browse() // Quick browse!!!

USE

return nil

//----------------------------------------------------------------------------//
DLLs necessarias:

ACE23.DLL: The 32-bit Advantage Client Engine.
AXCWS32.DLL: The Advantage 32-bit communication layer for client/server access.
ADSLOC32.DLL: The 32-bit Advantage Local Server.
EXTEND.CHR: OEM collation sequences. This file is needed if OEM character sets are to be used with Advantage Local Server.
ANSI.CHR: ANSI collation sequences. This file may be needed if ANSI character sets are to be used with Advantage Local Server.
ADSLOCAL.CFG: The configuration file for Local Server.

Baixar de advantage web site

Veja mais info em:

http://fivetechsoft.com/forums/viewtopi ... ht=ads+dll