Jump to content

_FileReadToArray Bugs on Vista


NS5
 Share

Recommended Posts

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 by water

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2022-02-19 - Version 1.6.1.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 (NEW 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

 

Link to comment
Share on other sites

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"

Link to comment
Share on other sites

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 :D

Link to comment
Share on other sites

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 2022-02-19 - Version 1.6.1.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 (NEW 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

 

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...