[Bug 20961] RegEditX 2.x/3.x reports 'Internal error: could not find RegEdit window' on startup (Wine's builtin 'regedit.exe' needs to provide 'RegEdit_RegEdit' window class name)

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Aug 22 08:35:07 CDT 2014


https://bugs.winehq.org/show_bug.cgi?id=20961

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|http://www.dcsoft.com/ftp/R |http://www.dcsoft.com/ftp/R
                   |EGX2.EXE                    |EGX.EXE
            Summary|RegEditX doesn't work       |RegEditX 2.x/3.x reports
                   |                            |'Internal error: could not
                   |                            |find RegEdit window' on
                   |                            |startup (Wine's builtin
                   |                            |'regedit.exe' needs to
                   |                            |provide 'RegEdit_RegEdit'
                   |                            |window class name)

--- Comment #13 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

revisiting, still present.

Similar examples:

https://workspaces.codeproject.com/davidcrow/quick-regedit-navigation/article/

--- quote ---
To find Regedit's window, we search for and/or create the "RegEdit_RegEdit"
window class.
--- quote ---

http://www.autoitscript.com/forum/topic/145823-jumpregistry/

--- snip ---
_JumpRegistry("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run")

Func _JumpRegistry($sKey, $sWKID = @ComputerName)
  Local $hWnd, $hControl, $aKey, $i, $hWnd2, $hControl2

  If Not ProcessExists("regedit.exe") Then
    Run(@WindowsDir & '\System32\regedit.exe')
    If Not WinWaitActive('[CLASS:RegEdit_RegEdit]', '', 3) Then Return
SetError(1, 1, 1)
  EndIf

  If Not WinActive('[CLASS:RegEdit_RegEdit]') Then
WinActivate('[CLASS:RegEdit_RegEdit]')
  $hWnd = WinGetHandle("[CLASS:RegEdit_RegEdit]")
  $hControl = ControlGetHandle($hWnd, "", "[CLASS:SysTreeView32; INSTANCE:1]")
...
EndFunc
--- snip ---

$ sha1sum REGX.EXE 
2fe698a7308a9c7a0ef19f7fa32ef17e9df67f1a  REGX.EXE

$ du -sh REGX.EXE 
1.5M    REGX.EXE

$ wine --version
wine-1.7.24-150-gcf4404c

Regards

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list