Hi,
Error: Unresolved external 'AdsCloseCachedTables' referenced from C:\XHARBOUR\LIB\RDDADS.LIB|adsfunc
Sds,
Vilian F. Arraes
Hi,
Error: Unresolved external 'AdsCloseCachedTables' referenced from C:\XHARBOUR\LIB\RDDADS.LIB|adsfunc
Sds,
Vilian F. Arraes
Vilian,
From http://www.xharbour.org/index.asp?page=news/20050324:
Antonio,
I did not understand. Not use AdsCloseCachedTables() in my system.
#pragma BEGINDUMP
void AdsCloseCachedTables( void ) {}
#pragma ENDDUMPAntonio,
Unhappyly it did not decide the problem.
Vilian,
If you are not using ADS, then there are two libs you should not be linking into you app. RDDADS.LIB and ACE32.LIB.
James
Vilian,
> Unhappyly it did not decide the problem.
Do you get the same error ?
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Error: Unresolved external 'AdsCloseCachedTables' referenced from C:\XHB\LIB\RDDADS.LIB|adsfuncVilian,
> does not have the Ace32.lib archive
Thats because you have to create that library yourself from the used ACE32.dll:
implib.exe Ace32.lib Ace32.dll
#pragma BEGINDUMP
#include <windows.h>
void pascal AdsCloseCachedTables( void )
{
MessageBox( 0, "inside AdsCloseCachedTables", "ok", 0 );
}
#pragma ENDDUMPAntonio,
Now it´s fine. Thank you
Antonio Linares wrote:
Try it this way:
#pragma BEGINDUMP #include <windows.h> void pascal AdsCloseCachedTables( void ) { MessageBox( 0, "inside AdsCloseCachedTables", "ok", 0 ); } #pragma ENDDUMP
function AdsCLoseCachedTables()
return nil> Out of curiousity, why is it so?
Because the linker is requiring a C level function, not a PRG level one ![]()