I think it's merely a write permission problem.
It'd fail the same way under XP with a restricted
user account.
It's highly unsafe to use filenames like: "\TEMP\filename.exe"
or anything without a drive letter, or to write to
any location which isn't verified as a proper temp dir.
Brgds,
Viktor
On 2009 Nov 13, at 21:27, Przemysław Czerpak wrote:
> On Tue, 10 Nov 2009, AbeB wrote:
>
> Hi,
>
>> this code generates an error under wista64, never had under XP.
>> ------
>> DBCREATE( MTEMPFILE,{;
>> { "ITEMID", "C", 8, 0 }, ;
>> { "ITEM", "C", 12, 0 }, ;
>> { "VITEM", "C", 12, 0 }, ;
>> { "CLASS", "C", 8, 0 }, ;
>> { "SUB", "C", 8, 0 }, ;
>> { "CQTY", "N", 7, 2 }, ;
>> { "DESC", "C", 40, 0 }, ;
>> { "MAN", "C", 15, 0 }, ;
>> { "BUYQTY", "N", 7, 2 }, ;
>> { "SOLDQTY", "N", 7, 2 }, ;
>> { "BUYAMT", "N", 10, 2 }, ;
>> { "SOLDAMT", "N", 10, 2 }, ;
>> { "BUYCASE", "N", 7, 2 }, ;
>> { "SOLDCASE", "N", 7, 2 }, ;
>> { "ONHAND", "N", 7, 2 }, ;
>> { "CASEONHAND", "N", 7, 2 }, ;
>> { "VEND1", "C", LEN(VEND->VEND), 0 }, ;
>> { "VENDCOST1", "N", 10, 2 }, ;
>> { "VEND2", "C", LEN(VEND->VEND), 0 }, ;
>> { "VENDCOST2", "N", 10, 2 } })
>> ----------
>> ERROR BMDBFCDX/1010 Read error: \TEMP\EBD0C222.DBF
>> Called from: (b)ERRORSYS(29) in Module: ERRORSYS.prg
>> Called from: DBCREATE(0) in Module:
>
> Can you replicate this problem with small self contain example?
> I.e.:
>
> proc main()
> dbCreate( "_tst", { { "F1", "C", 10, 0 } } )
> return
>
> What C compiler have you used?
> What is OS error code - try to catch RTE using your worn error code block
> to check osCode.
> Can someone else replicate this problem?
>
> best regards,
> Przemek
> _______________________________________________
> Harbour mailing list (attachment size limit: 40KB)
> [email protected]
> http://lists.harbour-project.org/mailman/listinfo/harbour
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour