MCP Posted October 4, 2007 Share Posted October 4, 2007 If I compile the program, everything seems to go fine, but as soon as I run it, I get the followingAVector: []: Out of bounds.Is there a way to get further info, at least the line that is causing the problem? The program is large, I have many arrays to look at and I am stuck.Thx in advance, guys! Link to comment Share on other sites More sharing options...
MCP Posted October 4, 2007 Author Share Posted October 4, 2007 (edited) Well, I have discovered the error is thrown when on Windows 2000, while XP is running the program smoothly and correctly. Any idea on how to catch problem? Edited October 4, 2007 by MCP Link to comment Share on other sites More sharing options...
PsaltyDS Posted October 4, 2007 Share Posted October 4, 2007 Well, I have discovered the error is thrown when on Windows 2000, while XP is running the program smoothly and correctly.Any idea on how to catch problem?Wow. Just from googling, it looks like a C++ error (AutoIt interpreter vice the script).What version of AutoIt did you compile with, and can you try another (maybe Beta)?Are there any unusual compiler directives in it? Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
Zedna Posted October 4, 2007 Share Posted October 4, 2007 Try to run it on problematic machine in uncompiled (AU3) format from Scite so it should give you error line. Or make compiled debug version which will write to LOG file every @scriptline activity. Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
jpm Posted October 4, 2007 Share Posted October 4, 2007 If I compile the program, everything seems to go fine, but as soon as I run it, I get the following AVector: []: Out of bounds. Is there a way to get further info, at least the line that is causing the problem? The program is large, I have many arrays to look at and I am stuck. Thx in advance, guys!can you post a sample of your script or at least PM it to me if you don't want to share it with other. I hope it is not to complicated to launch so I can analyse. Such error is due to an internal error of AutoIT code. Link to comment Share on other sites More sharing options...
MCP Posted October 7, 2007 Author Share Posted October 7, 2007 What version of AutoIt did you compile with, and can you try another (maybe Beta)?Well, I am running 3.2.8.1 and cannot currently test it easily / thouroughly cause it is a computer i am seldomly working on Link to comment Share on other sites More sharing options...
MCP Posted October 7, 2007 Author Share Posted October 7, 2007 can you post a sample of your script or at least PM it to me if you don't want to share it with other.I hope it is not to complicated to launch so I can analyse.Such error is due to an internal error of AutoIT code.I have changed the source code a lot in the last 2 days and I have not tested it yet. On next Tuesday I will be working on the Win2K pc again, if the error still comes out, I will send you a copy. Thx jpm. Link to comment Share on other sites More sharing options...
jpm Posted October 12, 2007 Share Posted October 12, 2007 I have changed the source code a lot in the last 2 days and I have not tested it yet. On next Tuesday I will be working on the Win2K pc again, if the error still comes out, I will send you a copy. Thx jpm.Did you have a chance to work on it? Link to comment Share on other sites More sharing options...
MCP Posted November 4, 2007 Author Share Posted November 4, 2007 Did you have a chance to work on it? First: SORRY for answering so late Second: Well, I am changing the program too quickly to systematically reproduce the error and I cannot often access a win2k workstation. Perhaps something like this: Func ShowElements(ByRef $aKeyAndValue) If Not IsArray($aKeyAndValue) Then Return For $a In $aKeyAndValue MsgBox(0, 'Key: ' & $a, 'Element: ' & $aKeyAndValue[$a]) Next EndFunc ;==>ShowElements It can be compiled but it generates an error at runtime (my other post) Link to comment Share on other sites More sharing options...
Bowmore Posted November 4, 2007 Share Posted November 4, 2007 First: SORRY for answering so late Second: Well, I am changing the program too quickly to systematically reproduce the error and I cannot often access a win2k workstation. Perhaps something like this: Func ShowElements(ByRef $aKeyAndValue) If Not IsArray($aKeyAndValue) Then Return For $a In $aKeyAndValue MsgBox(0, 'Key: ' & $a, 'Element: ' & $aKeyAndValue[$a]) Next EndFunc ;==>ShowElementsoÝ÷ ØjvÞr©Wnëb¶§z¶zƧzºè«kº{bé²¢Ø^®êå "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to build bigger and better idiots. So far, the universe is winning."- Rick Cook 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