LibiO Posted September 30, 2009 Share Posted September 30, 2009 Functions like: _GUICtrlTreeView_FindItem, _GUICtrlTab_FindTab and more do not work in 64 bit. What can be a problem and how to resolve it?DeviceManagerBasic.au3Device manager - getChildren.au3 Link to comment Share on other sites More sharing options...
andygo Posted September 30, 2009 Share Posted September 30, 2009 i think its because of this directory C:\Windows\winsxs and the #64 redirection: Running the 32-bit version of AutoIt on a x64 System For Files, Windows has a special redirection mechanism for some system directories : Directories 32-bit Value 64-Bit Value @SystemDir @WindowsDir & "\SYSWOW64" @WindowsDir & "\System32" @ProgramFilesDir {SystemDrive} & "\Program Files (x86)" {SystemDrive} & "\Program Files" It is possible to access the 64-bit version of those directories by disabling the redirection mechanism. DllCall("kernel32.dll", "int", "Wow64DisableWow64FsRedirection", "int", 1) Link to comment Share on other sites More sharing options...
LibiO Posted September 30, 2009 Author Share Posted September 30, 2009 So, should I only insert this code: DllCall("kernel32.dll", "int", "Wow64DisableWow64FsRedirection", "int", 1) to my script? If it is, it still does not work.... i think its because of this directory C:\Windows\winsxs and the #64 redirection: Running the 32-bit version of AutoIt on a x64 System For Files, Windows has a special redirection mechanism for some system directories : Directories 32-bit Value 64-Bit Value @SystemDir @WindowsDir & "\SYSWOW64" @WindowsDir & "\System32" @ProgramFilesDir {SystemDrive} & "\Program Files (x86)" {SystemDrive} & "\Program Files" It is possible to access the 64-bit version of those directories by disabling the redirection mechanism. DllCall("kernel32.dll", "int", "Wow64DisableWow64FsRedirection", "int", 1) so, should I only insert this code: DllCall("kernel32.dll", "int", "Wow64DisableWow64FsRedirection", "int", 1) to my script? If it is, it still does not work.... Link to comment Share on other sites More sharing options...
smashly Posted September 30, 2009 Share Posted September 30, 2009 Hi, I think it's more then 64bit redirection.. As even the examples in the help file fail under x64 (they just don't report any value). _GUICtrlTreeView_GetText() is broken under x64 (_GUICtrlTreeView_FindItem() uses _GUICtrlTreeView_GetText()) The tag structure constants need going over and changing so they'll be compatible with x64 & x86 properly. There's more then a few Structure constants that are broken under x64 atm, not just tab and treeview ones. Cheers Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted March 27, 2012 Moderators Share Posted March 27, 2012 dsk,This is the second time you have used the "Report" button to try to reply to a post. Once again: To reply in a thread you use the "Reply to this topic" button at the top or the "Reply to this topic" editor at the bottom. The "Report" button you pressed is only for alerting the Mods to a problem. Do NOT do it a third time or your continued ability to use the forum at all will be questioned - I hope I make myself clear. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area 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