Re: [Harbour] About bug in AdsGetField()

2009-05-14 Thread Mindaugas Kavaliauskas
Hi, great! The fix below should be enough (not tested), but maybe we should add a better error check for ads function return values... Index: C:/harboursvn/contrib/rddads/ads1.c === --- C:/harboursvn/contrib/rddads/ads1.c (revis

[Harbour] About bug in AdsGetField()

2009-05-14 Thread toni...@fwi
Hi ppl. I´d posted this message in Advantage.General: ---cut--- I´m a Harbour user and our group found a problem when use AdsGetField(..., ADS_NONE): character fields longer then 23 bytes read from tables increase pulLen by one adding one garbage character to the end of string. Is this an expecte

[Harbour] About bug in AdsGetField()

2009-05-14 Thread toni...@fwi
Hi ppl. I´d posted this message in Advantage.General: ---cut--- I´m a Harbour user and our group found a problem when use AdsGetField(..., ADS_NONE): character fields longer then 23 bytes read from tables increase pulLen by one adding one garbage character to the end of string. Is this an expecte