On Mon, 01 Oct 2012, Enrico Maria Giordano wrote: Hi,
> Dear friends, I don't get this to work in ADS RDD: > RDDINFO( RDDI_MEMOEXT, ".DBT" ) > ? RDDINFO( RDDI_MEMOEXT ) // still returns ".fpt" > I had a look inside ads1.c and found this: > static const char * adsMemoExt( int iFileType ) > { > switch( iFileType ) > { > case ADS_ADT: return ".adm"; > case ADS_CDX: return ".fpt"; > #if ADS_LIB_VERSION >= 900 > case ADS_VFP: return ".fpt"; > #endif > } > return ".dbt"; > } > It looks like the extension ".fpt" is hardcoded. > Any opinions? I implemented RDDI_MEMOEXT only for native RDDs. It's my own extension which exists only in Harbour and xHarbour. For foreign RDDs like ADS one we have only wrappers so we cannot add such functionality without access to ADS internal code so we can only follow its exact behavior. If you need such extension in ADS then you will have to ask about it their authors. If they implement it and public API to control this functionality then we can update ADS* RDDs to follow it. best regards, Przemek ------------------------------------------------------------------------------ Got visibility? Most devs has no idea what their production app looks like. Find out how fast your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219671;13503038;y? http://info.appdynamics.com/FreeJavaPerformanceDownload.html _______________________________________________ xHarbour-developers mailing list xHarbour-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xharbour-developers