delorie.com/archives/browse.cgi | search |
From: | jbfraleigh AT hotmail DOT com |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: DJGPP, FreeDOS and file access |
Date: | Fri, 06 Oct 2000 18:57:03 GMT |
Organization: | Deja.com - Before you buy. |
Lines: | 26 |
Message-ID: | <8rl79u$mce$1@nnrp1.deja.com> |
References: | <8rkmnt$8sq$1 AT nnrp1 DOT deja DOT com> |
NNTP-Posting-Host: | 209.101.83.36 |
X-Article-Creation-Date: | Fri Oct 06 18:57:03 2000 GMT |
X-Http-User-Agent: | Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt) |
X-Http-Proxy: | 1.0 PROXY, 1.0 x69.deja.com:80 (Squid/1.1.22) for client 209.101.83.36 |
X-MyDeja-Info: | XMYDJUIDjbfraleigh |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
I am using the Allegro library -- One of the functions was calling findfirst which was generating the ENOENT. I modified the routines to call _dos_findfirst instead which has corrected that problem. The problem that I am currently experiencing is using the fopen command as follows: ---- code ---- FILE *fp; fp = fopen("TEMP.TMP", "r"); if (!fp) { printf("We have a problem."); exit(1); } ---- end ----- When I run this code from a dos window (under Windows 98) or from a Windows 98 boot disk, it works fine. When I run it from my FreeDOS boot disk, I receive the error message. Sent via Deja.com http://www.deja.com/ Before you buy.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |