Message-ID: <34AB8E47.473BA8A1@usa.net> Date: Thu, 01 Jan 1998 13:38:31 +0100 From: Rune Lanton MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Somethings wrong 2!!!! Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk Sorry, I guess I was a little bit short in the last mail. I'll try to express myself better this time, it's just that my english is'nt to good. OK, first I wrote this program that reads one file, using the code:'file_pointer = fopen(arg_pointers[1],"rb");' But then I found out I wanted my program to be able to read all files of a given type, like all .htm files, or all .txt files. So I found the functions findfirst and findnext, aha, perfect. So I wrote this into my program->'status = findfirst(search_wild, fileinfo,FA_HIDDEN);' Status I just to determine whenthere's no more files. The problem is, when I wrote this into my program, just in front of the fopen funtion, fopen suddenly would.nt work anymore, it just crashes when it gets there. Why??? I hope I was a little bit clearer this time. lanton AT c2i DOT net