NS5 Posted September 30, 2009 Posted September 30, 2009 Hi all was wondering if anyone encountered _FileReadToArray bugs on Vista too?
water Posted September 30, 2009 Posted September 30, 2009 (edited) What kind of bug do you encounter? Do you have a working example to reproduce the error? What version of AutoIt do you use? That information would help to decide wether it's a bug or not. Edited September 30, 2009 by water My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki
AdmiralAlkex Posted September 30, 2009 Posted September 30, 2009 We are not mind-readers here. Please post something useful or don't post at all. .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface
NS5 Posted September 30, 2009 Author Posted September 30, 2009 If Not _FileReadToArray("REMOVED.ini", $CARDREMOVE) Then MsgBox(4096,"Error", " Error reading log to Array error:" & @error) Exit EndIf For $i = 1 To $CARDREMOVE[0] $N = PixelChecksum(907, 135, 957, 161) & "-" & PixelChecksum(934, 198, 1001, 209) While $N <> PixelChecksum(907, 135, 957, 161) & "-" & PixelChecksum(934, 198, 1001, 209) $N = PixelChecksum(907, 135, 957, 161) & "-" & PixelChecksum(934, 198, 1001, 209) WEnd $CADDY = IniRead("REMOVED.INI", "REMOVED", $N, "NOT FOUND") If $CADDY = $N Then ToolTip("TEST", 0, 0) Send("{DOWN}") Sleep(500) Else EndIf Next AutoIT v3.3.0.0 WIN XP sp2 When I try and run the code over Vista 32 "Error reading log Array error:0"
AdmiralAlkex Posted September 30, 2009 Posted September 30, 2009 A reproducer should be short and runnable. Which yours is not. It should have been more like: #include <File.au3> Local $CARDREMOVE If Not _FileReadToArray("REMOVED.ini", $CARDREMOVE) Then MsgBox(4096,"Error", " Error reading log to Array error:" & @error) As for your problem.... I have Win7 x64 build 7100 and that gives @error=2 not 0. If you really want any help on this matter, then you have to givs us a reproducer that can successfully reproduce your symptoms and tell us the conditions necessary to produce them. Remember that we can only help you as much as you help us help you .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface
NS5 Posted October 4, 2009 Author Posted October 4, 2009 Ok cool problem has been fixed. Thanks guys!
water Posted October 5, 2009 Posted October 5, 2009 Could you please describe in short what the problem was? So this thread can help others with a similar problem. My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki
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