Luiz: BCC 5.5.1.
I'll test your fix later and let you know. Regards, On 03-02-2012 02:44, l...@xharbour.com.br wrote: > Luiz > > I know how to fix this > > Regards > Luiz > >> Hello, >> >> >> On Fri, Feb 3, 2012 at 5:06 AM, Luis Krause Mantilla >> <lkrau...@shaw.ca>wrote: >> >>> Andi, Enrico, Ella: >>> >>> This is a complete mystery. >>> >>> Only if I build xHarbour on an XP SP3 (32-bit) box does >>> hb_fsize() seem to work as expected again. >>> >> >> >> In /source/rtl/fssize.c below is the code, which I think is relevant for >> your problem: >> >> ............. >> #if !defined(HB_OS_WIN_CE) >> # include<sys/types.h> >> # include<sys/stat.h> >> #endif >> ............ >> char * pszFree; >> BOOL fResult; >> struct stat statbuf; >> pszFileName = hb_fsNameConv( pszFileName,&pszFree ); >> fResult = stat( ( char * ) pszFileName,&statbuf ) == 0; >> hb_fsSetIOError( fResult, 0 ); >> if( pszFree ) >> hb_xfree( pszFree ); >> if( fResult ) >> return ( HB_FOFFSET ) statbuf.st_size; >> ............. >> >> Please check on your 64-bit system, FROM WHERE EXACTLY are linked in the >> files: >> >> sys/types.h >> >> sys/stat.h >> >> Maybe there is a PATH you are not aware of... >> >> Best regard, >> >> >> >> Ella >> ------------------------------------------------------------------------------ >> Try before you buy = See our experts in action! >> The most comprehensive online learning library for Microsoft developers >> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, >> Metro Style Apps, more. Free future releases when you subscribe now! >> http://p.sf.net/sfu/learndevnow-dev2_______________________________________________ >> xHarbour-developers mailing list >> xHarbour-developers@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/xharbour-developers >> > > > > ------------------------------------------------------------------------------ > Try before you buy = See our experts in action! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-dev2 > _______________________________________________ > xHarbour-developers mailing list > xHarbour-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/xharbour-developers > > -- Luis Krause Mantilla lkrausem at shaw dot ca luis_krause at hotmail dot com "May the Source be with GNU" ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ xHarbour-developers mailing list xHarbour-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xharbour-developers