Reinhardt Posted May 21, 2006 Share Posted May 21, 2006 (edited) I tried searching but didn't find anything about this... I'm getting the following error with my script: "Unable to open file, the maximum number of open files has been exceeded." I know there is a limitation for opened files, but I've checked my code a few times, and all functions, that opens a file, closes it before exiting... Is this some bug or am i not spotting some error in my code? Edited May 21, 2006 by Reinhardt Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted May 21, 2006 Moderators Share Posted May 21, 2006 I tried searching but didn't find anything about this...I'm getting the following error with my script:"Unable to open file, the maximum number of open files has been exceeded."I know there is a limitation for opened files, but I've checked my code a few times, and all functions, that open a file, closes it before exiting...Is this some bug or i'm not spotting some error in my code?I think the max files you can have open at one time is 64, if you're not using FileClose() before exit, and trying to open a file after that limit has been reached than you will get the error. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
Reinhardt Posted May 21, 2006 Author Share Posted May 21, 2006 the problem is that, like i said, i checked my code, and every file that is opened, is closed... ouch never mind, i just found the error... dumb thing i am just found out that i didn't put a fileclose before a "return 0" in one of the functions Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now