Search:

Type: Posts; User: Katman

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    3,895

    brewbuck, Yes, of course I've done ferror...

    brewbuck,

    Yes, of course I've done ferror already and all that and tested for EOF as well. I think the question has changed somewhat: I open the input file and then close the output file from the...
  2. Replies
    7
    Views
    3,895

    brewbuck, The fgets fails. Here's the fgets...

    brewbuck,

    The fgets fails. Here's the fgets with strerror added in an attempt to identify the error:



    if (NULL == fgets(linebuf, 99, InputFile))
    { sprintf(tmp, "\nstrerror says...
  3. Replies
    7
    Views
    3,895

    RE: "Permission Denied" error reading file

    carrotcake1029,

    Yes, I write to the directory in other programs without a problem. What's even odder, this "Permission Denied" error occurs on the second pass through this piece of code. On the...
  4. Replies
    7
    Views
    3,895

    "Permission Denied" error reading file

    I'm looking for troubleshooting suggestions or insights. I'm using Microsoft Visual C++ Version 6. In my MFC application, I can read part of a text file with fgets but, if at some point during that,...
Results 1 to 4 of 4