Error after update for FWH 7.11
Error after update for FWH 7.11
Hi,
Error: Unresolved external 'AdsCloseCachedTables' referenced from C:\XHARBOUR\LIB\RDDADS.LIB|adsfunc
Sds,
Vilian F. Arraes
Error: Unresolved external 'AdsCloseCachedTables' referenced from C:\XHARBOUR\LIB\RDDADS.LIB|adsfunc
Sds,
Vilian F. Arraes
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Vilian,
From http://www.xharbour.org/index.asp?page=news/20050324:
# Added AdsCacheOpenTables() and AdsCacheOpenCursors() function. (for all versions Ads) and AdsCloseCachedTables() for Ads 7.x and above. ADS_REQUIRE_VERSION 7 must be set for the last function
# Allow setting of ADS_REQUIRE_VERSION using compiler command line switch
From http://www.xharbour.org/index.asp?page=news/20050324:
# Added AdsCacheOpenTables() and AdsCacheOpenCursors() function. (for all versions Ads) and AdsCloseCachedTables() for Ads 7.x and above. ADS_REQUIRE_VERSION 7 must be set for the last function
# Allow setting of ADS_REQUIRE_VERSION using compiler command line switch
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Vilian,
As a workaround try to add this code to your main PRG:
As a workaround try to add this code to your main PRG:
Code: Select all
#pragma BEGINDUMP
void AdsCloseCachedTables( void ) {}
#pragma ENDDUMP
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Antonio,
The error message is the same one:
One will detail interesting that I observed is that in the installation of xHarbour that comes with FWH 7.11 does not have the Ace32.lib archive.
The error message is the same one:
Code: Select all
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Error: Unresolved external 'AdsCloseCachedTables' referenced from C:\XHB\LIB\RDDADS.LIB|adsfunc
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Vilian,
Try it this way:
Try it this way:
Code: Select all
#pragma BEGINDUMP
#include <windows.h>
void pascal AdsCloseCachedTables( void )
{
MessageBox( 0, "inside AdsCloseCachedTables", "ok", 0 );
}
#pragma ENDDUMP
When I got this error, initially I just try to create a stub functionAntonio Linares wrote:
Try it this way:Code: Select all
#pragma BEGINDUMP #include <windows.h> void pascal AdsCloseCachedTables( void ) { MessageBox( 0, "inside AdsCloseCachedTables", "ok", 0 ); } #pragma ENDDUMP
Code: Select all
function AdsCLoseCachedTables()
return nil
Ok, back to play with 7.12
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact: