Information générale
Catégorie:
Codage, syntaxe et commandes
Thank you and everyone else for the help.
I have it up and running at the moment (I have no idea what exactly fixed it). When it breaks again I will try these other suggestions.
Beth
>Beth,
>
>I don't know under what conditions fopen() can return 0, but it's not a valid file handle. So you can't use it as such. I'm with the others I think filetostr() or using adir() to see if there is any file content is a better way to go.
>
>>I ran the display status just before fopening the file and just after closing it in code. It did not show as a user opened file in the first one. In the 2nd one, it showed as a file open with a handle of 0 and a length of 0.
>>
>>Arror() gets me nothing, because it is not reporting it as an error.
>>
>>This is a random occurance, because once on friday and now I can get it to run correctly. I have shut down the machine several times trying to correct this problem. It did not fix it. But messing with the program in debug mode getting the problem fixed.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement