PartyPooper Posted July 15, 2009 Share Posted July 15, 2009 I took this example straight out of the AutoIt Help File and for some reason, using SciTE4AutoIt3 'beta run' works fine (I get a message box with the number of bytes read) but the 'beta compile' function doesn't (comes up with AutoIt Error Line -1: Error: Unknown function name). I'm using beta v3.3.1.1 and the latest SciTE4AutoIt3 (which has been configured to use the beta). So what am I missing? Why doesn't the compiled version run?: Local $hDownload = InetGet("http://www.autoitscript.com/autoit3/files/beta/update.dat", @TempDir & "\update.dat", 1, 1) Do Sleep(250) Until InetGetInfo($hDownload, 2) ; Check if the download is complete. Local $nBytes = InetGetInfo($hDownload, 0) InetClose($hDownload) ; Close the handle to release resourcs. MsgBox(0, "", "Bytes read: " & $nBytes) Link to comment Share on other sites More sharing options...
PartyPooper Posted July 16, 2009 Author Share Posted July 16, 2009 (edited) I take it by the lack of replies, it works fine for everyone else and it is just my system that's playing up? Edit: I should've said that it compiles OK, but the resultant EXE comes up with the error I described above (like it is being compiled with the production version of AutoIt). Edited July 16, 2009 by PartyPooper Link to comment Share on other sites More sharing options...
PartyPooper Posted July 16, 2009 Author Share Posted July 16, 2009 Nevermind, it's a bug apparently (Ticket #1036 (closed Bug: Fixed)). 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