EMG, in adsfunc.c adssetnull is commented,
/HB_FUNC( ADSSETNULL )
{
UNSIGNED32 ulRetVal;
ADSAREAP pArea = hb_adsGetWorkAreaPointer();
ulRetVal = AdsSetNull( (hb_parnl(1)==0) ? pArea->hOrdCurrent : hb_parnl(1),(char) hb_parc(2));
hb_retl( ulRetVal == AE_SUCCESS );
}*/
but in the same adsfunc.c have this:
HB_FUNC( ADSSETNULL )
{
UNSIGNED32 ulRetVal;
ADSAREAP pArea = hb_adsGetWorkAreaPointer();
ulRetVal = AdsSetNull( pArea->hStatement,
( UNSIGNED8 * ) hb_parcx( 1 ) ) ;// pucFldName ,
hb_retl( ulRetVal == AE_SUCCESS );
}
another reference is in ace32.c
UNSIGNED32 ENTRYPOINT AdsSetNull( ADSHANDLE hTable, UNSIGNED8 *pucFldName )
{
if defined(__cplusplus)
static ADSSETNULL_PTR
else
static ADSSETNULL_PTR pFunc = NULL;
if ( !pFunc )
endif
pFunc = (ADSSETNULL_PTR) Ace32_GetProcAddress( "AdsSetNull" );
return pFunc( hTable, pucFldName );
}
thanks