Sign in to follow this  
Followers 0
bullygil

Prospeed OnExitFunc

4 posts in this topic

#1 ·  Posted (edited)

Hello, me again.I'm trying to use prospeed for my project.I included it, but when I try to run it, I get this error:

C:\Program Files\AutoIt3\Include\Prospeed.au3(10,30) : ERROR: Opt() called with illegal argument 1: "OnExitFunc"
Opt("OnExitFunc", "Close_DLL")

I don't know why I get this error.I downloaded from a thread, several Prospeed examples.I run them, and they work just fine.I use the same file those examples do.I can't figure out what's the problem.

LE:If I run my script from it's folder, i don't get that error.If i run from scite, i still get the error, but pressing the "continue anyway" button, starts the script ;).

But still.Is it normal to get this error?

LLE:It seems that every function i try to use, gets an error...

Edited by bullygil

Share this post


Link to post
Share on other sites



Opt("OnExitFunc", ......) is old AutoIt syntax ...

search the help file of your version for 'OnAutoItExitRegister' for new syntax, and replace

hth,

whim

Share this post


Link to post
Share on other sites

I still get the error.But it's pretty inoffensive.It doesn't affect the way the script is working.

Share this post


Link to post
Share on other sites

Thank you, Whim. I've got the same but now solved it quickly thanks to your message.

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