bullygil Posted December 28, 2009 Posted December 28, 2009 (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 December 28, 2009 by bullygil
whim Posted December 28, 2009 Posted December 28, 2009 Opt("OnExitFunc", ......) is old AutoIt syntax ... search the help file of your version for 'OnAutoItExitRegister' for new syntax, and replace hth, whim
bullygil Posted December 28, 2009 Author Posted December 28, 2009 I still get the error.But it's pretty inoffensive.It doesn't affect the way the script is working.
MisterVSE Posted August 30, 2016 Posted August 30, 2016 Thank you, Whim. I've got the same but now solved it quickly thanks to your message.
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