Sign in to follow this  
Followers 0
Reinhardt

Problem with files

3 posts in this topic

#1 ·  Posted (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 by Reinhardt

Share this post


Link to post
Share on other sites



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.

[center]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.[/center]

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0