FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour Request _ADS?
Posts: 418
Joined: Wed Nov 26, 2008 06:33 PM
Request _ADS?
Posted: Fri Sep 06, 2013 09:43 PM

Saludos.

Al linkar mi aplicacion me da el siguiente error:

Error: Unresolved external '_HB_FUN__ADS' referenced from C:\AUTOSYS\PRGS\FUN\AUTOSYS.LIB|MAUFUNC

// --- Activacion de RDD ADS
function ActivaRDD()

request _ADS
RDDREGISTER("ADS",1)
RDDSETDEFAULT("ADS")
ADSSETSERVERTYPE(2)
ADSLOCKING(.T.)
ADSRIGHTSCHECK(.F.)
request ADSKEYNO,ADSKEYCOUNT
return NIL

Agrego a mi apl. las lib
rddads.lib
ace32.lib
y aun asi me da el error, version de ADS 10.10.0.6

Fwh 13.07, xH 1.23, bcc 6.50

Noé Aburto Sánchez
Tec. Prog. de Sistemas. -Morelia, Mich. México.
fwh 20.06, Harbour 3.2.0, bcc 7.4
TsBrowse 9.0, TsButton 7.0, xEdit 6.1
naburtos@gmail.com, noeaburto67@hotmail.com
Posts: 1088
Joined: Fri Oct 07, 2005 03:33 PM
Re: Request _ADS?
Posted: Sat Sep 07, 2013 12:34 AM

Noe,

prueba definiendo

EXTERNAL ADS

al inicio de tu modulo principal

saludos

Marcelo

Posts: 418
Joined: Wed Nov 26, 2008 06:33 PM
Re: Request _ADS?
Posted: Sat Sep 07, 2013 02:22 AM

Negativo, sigue con el mismo error.

Noé Aburto Sánchez
Tec. Prog. de Sistemas. -Morelia, Mich. México.
fwh 20.06, Harbour 3.2.0, bcc 7.4
TsBrowse 9.0, TsButton 7.0, xEdit 6.1
naburtos@gmail.com, noeaburto67@hotmail.com
Posts: 1088
Joined: Fri Oct 07, 2005 03:33 PM
Re: Request _ADS?
Posted: Sat Sep 07, 2013 02:49 AM

Noe

pero debes quitar el

request _ADS

de tu código

saludos

Marcelo

Posts: 418
Joined: Wed Nov 26, 2008 06:33 PM
Re: Request _ADS?
Posted: Sat Sep 07, 2013 02:23 PM

Ok. ceros errores.

Solo una duda, esto no afectara a mis transacciones posteriones con el ADS?

Desconosco la difrencia entre External y request

Noé Aburto Sánchez
Tec. Prog. de Sistemas. -Morelia, Mich. México.
fwh 20.06, Harbour 3.2.0, bcc 7.4
TsBrowse 9.0, TsButton 7.0, xEdit 6.1
naburtos@gmail.com, noeaburto67@hotmail.com
Posts: 1088
Joined: Fri Oct 07, 2005 03:33 PM
Re: Request _ADS?
Posted: Sat Sep 07, 2013 04:30 PM
The REQUEST statement declares a symbolic name of a function or procedure for the linker. This is usually required when there is no direct call of a function or procedure in PRG code, for example when a function is only called within a macro-expression using the macro-operator. By requesting the symbolic name of a function, the linker is forced to link the corresponding function to the executable file.

The EXTERNAL statement declares a symbolic name of a function or procedure for the linker. This is usually required when there is no direct call of a function or procedure in PRG code, for example when a function is only called within a macro-expression using the macro-operator. By declaring the symbolic name of a function as EXTERNAL, the linker is forced to link the corresponding function to the executable file.

Continue the discussion