Modify

Opened 16 years ago

Closed 16 years ago

#1567 closed Bug (No Bug)

FileExists() returns false in error when x86-compiled script runs on x64 Win 7

Reported by: scriptingsteve Owned by:
Milestone: Component: AutoIt
Version: 3.3.6.0 Severity: None
Keywords: Cc:

Description

I have a 32-bit-compiled autoit script that is returning false in error when run on 64-bit Windows 7 for this code:

{{
$Dir=@WindowsDir & "\System32\Drivers\mrxsmb10.sys"
If FileExists($Dir) Then
Msgbox(64,"File found","File '" & $Dir & "' Version " & FileGetVersion($Dir))
Else
Msgbox(16,"Error","File '" & $Dir & "' not found.")
EndIf
}}

The file is physically in the above location (C:\Windows\System32\Drivers\Mrxsmb10.sys). When the script is compiled x86 (AutoIt 3360), it returns false (incorrect). If the same script is recompiled as x64(AutoIt 3360), it returns true (correct).

Attachments (0)

Change History (1)

comment:1 by Valik, 16 years ago

Resolution: No Bug
Status: newclosed

If you post on this issue tracker again you will be permanently blocked from this website. This is the second time you've flagrantly ignored the stated guidelines even after a not-so-gentle push to read the guidelines. This is the second time you've opened a bug report for something that is not a bug. Your code is broken because you don't understand WOW64. That means you need support. Use the forum or get blocked from the site. Your call.

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.