>Are you saying that I must set the TMPDIR in the Config.fpw ???
>
>Taking a look to the VFP Help, I can see that the 1157 error is talking about a table that want to be open in an 32k over area. What it means ???
>
>Thank you in advance, again!
Hmmm I'm not sure where it would default if you don't set in config.fpw. Probably to same place as your getenv("temp"). You could check it with sys(2023). Here is what it says in my help file (VFP5) for 1157 :
"There was a critical error while writing to disk, such as lack of disk space or read/write failure."
Just for a trial if it's the case, create a dummy config.fpw say "dummy.fpw" and place :
editwork = drive:\path\
sortwork = drive:\path\
progwork = drive:\path\
in it (you should have RW access to drive:\path). Run your executable as :
myexe.exe -Cdrive:\path\dummy.fpw
Cetin