Luiz

I know how to fix this

Regards
Luiz

> Hello,
>
>
> On Fri, Feb 3, 2012 at 5:06 AM, Luis Krause Mantilla
> <[email protected]>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
> [email protected]
> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/xharbour-developers

Reply via email to