Mail Archives: djgpp/1997/08/21/03:30:50
On Thu, 21 Aug 1997, Dim Zegebart wrote:
> if (access(p,D_OK)!=0) //directory not exists !!!!!!!!!!! Note, if
> network connection is lost or server shutdowned this string
> // !!!!!!!!!!! coused a
> GPF
It's a good idea to post the crash traceback also (hint, hint).
Are you sure the crash happened inside the `access' call? If you are,
can you please disassemble near the EIP value that was printed with the
traceback and post what's there. (E.g., in GDB, use the `disassemble'
command.) `access' issues quite a few file-oriented DOS calls, and it is
important to know which one of them causes the crash, to come up with a
work-around.
Which DPMI server are you using, btw?
- Raw text -