ls5302 0 Posted October 22, 2010 I'm using the following code to locate mail recipients in the "PGP Desktop - Key Selection Dialog". Local $hKeys = ControlGetHandle($hWindow, "", "[CLASS:SysListView32; INSTANCE:1]") Local $iKeyIndex = _GUICtrlListView_FindInText($hKeys, $strRecipient) The code works without issue on Windows XP x86 platform, but the _GUICtrlListView_FindInText() function doesn't return anything on Windows 7 x64 platform. Is this to do with wide characters? Is there a work around? Share this post Link to post Share on other sites
ls5302 0 Posted October 25, 2010 Note to self... read the documentation!!!Although PGP v10 has 64-bit components, the PGPTray.exe application is 32-bit (shown in the Task Manager).As documented for the ControlListView function:Some commands may fail when using a 32-bit AutoIt process to read from a 64-bit process. Likewise commands may fail when using a 64-bit AutoIt process to read from a 32-bit process.Compiling my AutoIT script as a 32-bit application resolved the problem.A wondering for the future... How to deal with the requirement to read from 32-bit and 64-bit processes from one AutoIt process? Share this post Link to post Share on other sites