PDA

View Full Version : How to prevent crashes when pasting images into the text editor


kinook
07-30-2007, 11:35 AM
Ultra Recall's internal text/rich text editor (by default what is used for editing text within UR) is based on the Microsoft rich edit control (riched20.dll).

A version of the MS rich edit control is installed with Microsoft Windows, and various versions are also available with Microsoft Office.

The UR installer includes an option to install riched20.dll v5.50, which supports inserting tables and is fairly stable (uncheck the Install rich edit control with table support option during installation to use the older Windows default version). During installation of UR, if a newer version is found with an Office installation, a Use Office rich edit control option (unchecked by default) is also available to copy that version for use by UR.

While newer versions of riched20.dll can provide better representation of advanced RTF editing features related to tables, styles, formatting, etc., some versions also have additional bugs that can make UR less stable (bugs that our users have experienced include crashing when pasting images, problems with images in tables, images not displayed properly, font weirdness, proper display of Unicode characters, hyperlink oddities, etc.).

Choosing Help | About | Install Info will show which version of riched20.dll is currently being used by UR.

To use the default version of riched20.dll installed with Windows, exit UR and delete riched20.dll and/or msftedit.dll from the UR installation path (typically C:\Program Files\UltraRecall).

To use another version of riched20.dll, copy or extract it into the UR installation path and restart UR.

Some versions of riched20.dll that are available for downloading:
v5.30.23.1230 (http://www.kinook.com/Download/Misc/WinXP_4.1_5.30.zip) (included with Windows XP)
v5.31.23.1229 (http://www.kinook.com/Download/Misc/Win7_4.1_5.41.zip) (included with Windows 7)
v5.40.11.2210 (http://www.kinook.com/Download/Misc/Office10-XP_4.0_5.40.zip) (installed with Office XP)
v5.50.99.2050 (ftp://ftp.kinook.com/RICHED20.zip) (installed with Office 2003)
v12.0.4518.1014 (http://www.kinook.com/Download/Misc/Office12-2007_6.0_12.0.zip) (installed with Office 2007)
v14.0.4750.1000 (http://www.kinook.com/Download/Misc/Office14-2010_14.0.4750.1000.zip) (installed with Office 2010)

See the following threads for more details:
http://www.kinook.com/Forum/showthread.php?threadid=2773
http://www.kinook.com/Forum/showthread.php?threadid=1026
http://www.kinook.com/Forum/showthread.php?threadid=1990
http://www.kinook.com/Forum/showthread.php?threadid=1918