Re: [OT] files/dir on windoze
- Posted by "Juergen Luethje" <j.lue at gmx.de> Jul 08, 2004
- 583 views
Kat wrote: > On 8 Jul 2004, at 4:58, irv mullins wrote: > >> posted by: irv mullins <irvm at ellijay.com> >> >> Juergen Luethje wrote: >> >>> Oops, I almost forgot about LFN. New program (as previously, using the >>> exw.exe 2.4 interpreter BTW): >> >>> Anything worked fine, up to file #08191 (inclusive). Then Euphoria said: >>> "Can't create error message file: ex.err" >>> >>> Now it's your turn. >> >> Pass. Now it's Rob's turn :) >> >> Oh, you might try redirecting the ex.err to another directory and >> see if Eu could write it there. > > Too bad that doesn't fix the original problem: the program could not create a > file for the programmer, which caused Eu to fault and try to write it's own > ex.err, which wasn't going to happen either. Windos Eu returns only a -1 to > let the programmer know there is an error, but not what the error is,, unless > RobC can extract the extended error msgs to give us. Yes, another test showed, that the 'ex.err' file says: "bad file number (-1)". Perhaps someone wants to write a test program, that uses Windows API functions for writing the files. There is an API function called 'GetLastError' or so, that might return a meaningful value. Regards, Juergen