Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. davetoulouse

    fclose on a non existant file

    Thank you all very much, I appreciate and agree with comments about good practice. But I will be doing lots of opeming and closing of files and this routine will be buried many levels deep and for me personally I like to have a "what cannot happen just happened" warrning. Thank you Prattarat -...
  2. davetoulouse

    fclose on a non existant file

    Hi Thanks for the replies I did try setting fp to NULL after a close and then checking for null before the next close This may work if they are in line however with my call where it seems to have no effect - it isnt setting fp to Null in the calling routine so if the calling routine calls again...
  3. davetoulouse

    fclose on a non existant file

    Hi All Sorry this question is paranoid - but i am! Since this routine will be deep in the code I want it bomb proof ( even Me proof ) As part of a bigger project I have written a trivial routine to close a file. There is other stuff in it but I reduced it to minimum to verify where problem is...

Part and Inventory Search

Back
Top