A program work fine using rddads/ace32/ADS 8, but fail to create for
rddads/ace32/ADS 6.2x, with:
Error: Unresolved external '_AdsGetLongLong' referenced from
C:\HARBOUR803\HARBOUR\LIB\RDDADS620.LIB|ads1
Notes:
- rddads620.lib was created with proper macro for ADS version
- Harbour source code date is March 2008
and yes, ace32.lib/ADS 6.2x does not contain AdsGetLongLong, requested
in ads1.c:
--------------------------------------------------
#ifndef HB_LONG_LONG_OFF
case HB_FT_AUTOINC:
{
SIGNED64 qVal = 0;
ulRetVal = AdsGetLongLong( pArea->hTable, ADSFIELD( uiIndex ),
&qVal );
if( ulRetVal == AE_NO_CURRENT_RECORD )
{
qVal = 0;
pArea->fEof = TRUE;
}
hb_itemPutNIntLen( pItem, ( HB_LONG ) qVal, 10 );
break;
}
case HB_FT_ROWVER:
{
SIGNED64 qVal = 0;
ulRetVal = AdsGetLongLong( pArea->hTable, ADSFIELD( uiIndex ),
&qVal );
if( ulRetVal == AE_NO_CURRENT_RECORD )
{
qVal = 0;
pArea->fEof = TRUE;
}
hb_itemPutNIntLen( pItem, ( HB_LONG ) qVal, 20 );
break;
}
#else
--------------------------------------------------
David Macias
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour