Ok, as I pound a book into my head, I think I fixed the problem (knock on wood). It appears as if another file included in the program defined fopen, fseek,... with it's own set of comands. Now, I have fixed that, and here is hoping that it will work
