This article was previously published under Q197580
This article has been archived. It is offered "as is" and will no longer be updated.
There are three different Riched32.dll files that have the version number5.0.1458.47, and one of them is not redistributable. This article describesthe differences between these files and includes additional distributioninformation.
Each of the three Riched32.dll files with the version number 5.0.1458.47,and has a different size. These versions are:
A 169KB version (general release).
A 176KB version that is optimized for loading on Windows 98, but is identical in code to the general release version.
A 225KB version that was released by the Microsoft Exchange group. It is intended to cover all localized versions and is dependent upon GAPI32.dll.
Of these three versions of Riched32.dll 5.0.1458.47, you can onlydistribute the 169KB or 176KB versions. If the target computer is alreadyusing the 225KB version, do not replace it with another Riched32.dll withthe same version number or older.
Also, keep the following in mind when distributing Riched32.dll using third-party setup programs:
If the target computer is running NT 4.0, your setup program should not replace Riched32.dll.
Riched32.dll is a part of the operation system installation of Windows 2000. Setup programs installing to Windows 2000 should not install Riched32.dll.
Which Version Is Distributed by the Setup Wizard and PDW?
If you use the Setup Wizard in Visual Basic 5.0 or the Package andDeployment Wizard (PDW) in Visual Basic 6.0, you will not have to concernyourself with the issue of which version to distribute. By default, theSetup Wizard and PDW are set up to distribute Riched32.dll version4.00.993.4, if your application requires this file. Both wizards createsetup programs that only replace files on target systems if they are olderthan the file being distributed.
Visual Basic 5.0 places a copy of Riched32.dll version 4.00.993.4 in thefollowing folder:
This is the folder that the Setup Wizard searches first when pulling in thefiles that need to be distributed. If your application uses Riched32.dll,the Setup Wizard will pick it up from this location.
Visual Basic 6.0 places a copy of Riched32.dll version 4.00.993.4 in thefollowing folder:
Program Files\Microsoft Visual Studio\VB98\Wizards\PDWizard\Redist
This is the folder that the PDW searches first when pulling in the filesthat need to be distributed. If your application uses Riched32.dll, the PDWwill pick it up from this location.
Riched32.dll is included in the redistributable file list (Redist.txt) forVisual Basic 5.0. While the file is not included in the Redist.txt file forVisual Basic 6.0, the PDW may include Riched32.dll in the distribution set.However, it will not install the file on a computer running Windows NT 4.0 or Windows 2000.
NOTE: There are several localized versions of Riched32.dll, which should beidentifiable by their language ID. These versions are specific to thelanguage being developed for, but should follow the same rules as describedpreviously.