Jump to content
Sign in to follow this  

_GUICtrlRichEdit_GetText crashes SyncToySetup

Recommended Posts


The SyncToy 2.1 32-bit installer on XP Pro SP3 (tried multiple computers) crashes when _GUICtrlRichEdit_GetText attempts to read the Folder textbox control on the "Select Installation Folder" screen. I've reduced the problem to the following code that verifies the control handle is valid (agrees with AutoIt Window Info).

#Include <GuiRichEdit.au3>                          ; Installing SyncToySetupPackage_v21_x86.exe - SyncToy 2.1 (x86)
$h=ControlGetHandle('SyncToy 2','','RichEdit20W1')  ; Folder textbox control ("Select Installation Folder" screen)
MsgBox (0,"handle",$h)                              ; handle to control is always ok
msgbox(0,_GUICtrlRichEdit_GetText($h),@error)       ; @error=700 and MSI installer crashes:
    ; AppName: synctoysetup.exe  AppVer: 8.0.50727.42    ModName: riched20.dll  -- ModVer:  Offset: 00018852

_GUICtrlRichEdit_GetText returns a null and @error=700

Note that it crashes in riched20.dll

Edited by Schuss

Share this post

Link to post
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
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.