Fix Display Problem in Lesson Builder Running on Windows 2000/XP
The information in this article applies to the following products:
Logos Lesson Builder software versions v. 1.0 & 1.1
Thomas Nelson’s Electronic Lesson Works
Note: References to “Lesson Builder” in this article also apply to Lesson Works. If you are running Lesson Works, use the correct directory name for the directory to which you installed Lesson Works and do not use “Logos Lesson Builder.”
Summary
If you upgrade your operating system to Windows 2000 or XP and run Logos Lesson Builder, your Lesson Builder screen displays and printouts now will include additional page breaks. To correct the problem, the previous Windows version of the Riched32.dll file must be located in your Logos Lesson Builder directory.
Note: If you did not opt to save your previous system files when you installed the new version of Windows, you must have your original Windows 95 or Windows 98 CD to retrieve the DLL file. If you do not have the CD, you will need to contact Microsoft.
Symptoms
When you run Lesson Builder on the Windows 2000 or XP operating system and display a window or a print preview screen or print text, you see a page break between each line of text.
Probable Cause
Windows 2000 and XP include a modified dynamic-link library file (Riched32.dll) which now is incompatible with Lesson Builder.
Resolution (or) Workaround
The steps to put the correct version Riched32.dll file in your Logos Lesson Builder directory depend on where your previous Windows version DLL file is located.
If you have the Windows 95 or Windows 98 CD, then follow the instructions to extract the DDL file from a cabinet file (.cab) on the Windows 95/98 CD.
If you do not have the Windows 95/98 CD and you installed Windows 2000 or XP with the option to save the previous Windows system folder, you can uninstall Windows 2000 or XP which will restore your previous Windows system. Then follow the instructions to copy the DLL file from a Windows 95/98 system directory on your hard disk. When you have finished copying the previous Windows version of the DDL file to the Logos Lesson Builder directory, you can install Windows 2000 or XP.
If you installed Windows 2000 or XP in an additional system directory and retained your previous Windows version so that your machine has a dual boot, you can follow the instructions to copy the DLL file from the Windows 95/98 directory to the Logos Lesson Builder directory.
Before you begin, close the Logos Lesson Builder if the program is running.
Extract the DLL File from a Cabinet File on the Windows 95/98 CD
The version of the DLL file you need to run Logos Lesson Builder is available from your Windows 95 or Windows 98 CD. The following instructions will guide you how to extract the DLL file from a Windows cabinet file on the CD and locate it to the Logos Lesson Builder directory. The DLL file must be extracted because the cabinet files store the DLL files in a compressed form. If you have a problem, consult your Microsoft documentation or contact Microsoft for further instructions.
To extract the Riched32.dll file from a cabinet file on the Windows 95 or Windows 98 CD and place it in your Logos Lesson Builder directory, follow these steps:
1. Locate your Windows 95 or Windows 98 CD and insert the CD into your CD-ROM drive.
2. To work from the MS-DOS prompt or command line, select Start and Programs then click MS-DOS Prompt.
The MS-DOS Prompt window should appear with the command line, for example
C:>
3. Determine the file name of the first Windows cabinet file that is available from the CD. At the command line, type:
dir d:ƒÄ£ Cæ
(where D: is your CD-ROM drive letter name and WIN98 is the directory on the CD where the cabinet files are available)
Note that you must type the command exactly. The backslash on most keyboards is located to the right above the Enter key and the forward slash is to the right near the Shift key. For example, type:
dir[space]d[colon][backslash]win98[backslash]
[asterisk][period]cab[space][forward slash]p
and then press [Enter].
MS-DOS will display a list of cabinet file names. You will need to note the first file name listed beginning with WIN95 or WIN98 followed by an underscore ( _ ), for example WIN98_22.CAB. You will use this file name when you type the command in Step 4. Note that you will need to press [Enter] again to see the next page of file names in the directory. After you’ve found the WIN95 or WIN98 cabinet file name you need, press [Enter] until you return to the MS-DOS command line prompt, for example c:> . (If you go past the page you need before getting the file name, continue to press [Enter] to get to the command line prompt and then repeat Step 3.)
4. At the MS-DOS command line prompt, type:
extract /a d:_22.cab riched32.dll /l c:~1~1
(where D: is your CD-ROM drive letter name and WIN98 is the directory on the CD where the cabinet files are available and where WIN98_22.cab is the first cabinet file listed and where C:FilesLesson Builder is the hard disk location where you installed Logos Lesson Builder)
The directory to which you installed Logos Lesson Builder may be much different that the example above, for example H:Study Tools. Some versions of DOS do not allow long file names, so the tilde (~) is placed at where the seventh character of the long file name would be if there were no spaces between words. The tilde is followed by a number one (1). In this example, your hard disk location would appear as: h:~1~1
You must type the command exactly. Note the difference between a letter “l” and a number “1.” The tilde (~) on most keyboards will be located near the upper left corner and is used with the Shift key. The underscore ( _ ) is at the top next to the zero (0) and is used with the Shift key. For example, to type the command line above you would type:
extract[space][forward slash]a[space]d[colon][backslash]win98[backslash]
win98[underscore]22[period]cab[space]riched32[period]dll[space][forward slash]l
[space]c[colon][backslash]progra[tilde]1[backslash]logosl[tilde]1
and press [Enter].
The MS-DOS extract command will search all the cabinet files on the CD location that you specified beginning with the file you named, determine which cabinet contains Riched32.dll, and then extract the DLL file and locate it in the Logos Lesson Builder directory that you specified. (We’ve used the “tilde” in the DOS file names because your version of DOS may not support long file names.)
5. Verify that the DLL file now is located in your Logos Lesson Builder directory. At the MS-DOS command line prompt, type:
dir C:~1~1.dll
(where C: is your hard drive letter name and Program FilesLesson Builder is the directory to which you installed Logos Lesson Builder)
and press [Enter].
MS-DOS should display the correct file name and location.
When you run Lesson Builder, the Lesson Builder display and print features now should appear without extra page breaks. If not, also place a copy of the Riched32.dll file into C:\Windows\System, replacing the current version.
Copy the DLL File from a Windows 95/98 System Directory on Your Hard Disk
If you have access to your previous Windows system folder, then you can use your Windows Explorer utility to copy the DLL file from the old system folder to the directory where you installed Logos Lesson Builder. For example, select C:\i Riched32.dll (where C:\i0 is your hard drive letter name and WIN98 is where the previous version of your Windows system files are located) and copy it to C:FilesLesson Builder (where C:\i0 is your hard drive letter name and Program FilesLesson Builder is the directory to which you installed Logos Lesson Builder).
Warning: You must copy the previous version of the DLL file into the Logos Lesson Builder folder.
To look in the Windows 95 or Windows 98 system folder on your hard disk for the Riched32.dll file and then copy it to your Logos Lesson Builder directory, follow these steps:
1. Run Windows Explorer.
2. From the Tools menu, select Find and click Files or Folders… .
3. In the Named: text box, type
RICHED32.DLL
4. In the Look in: text box, type
C: (where C: is your hard drive letter name and WIN98 is the directory where your previous Windows 95 or Windows 98 system files are located)
Warning: If you do not specify the directory here, then Windows Explorer also may find the current Windows 2000 version of the DLL file. Do not copy the new version of the DLL file.
5. To start searching, click Find Now.
The search result should list the file RICHED32.DLL in the previous Windows version folder, for example C:.
6. Click the Riched32.dll file name that is next to the Windows 95 or Windows 98 folder name to select the previous Windows version Riched32.dll from the Find search result.
7. From the Edit menu, click Copy.
8. From the File menu, click Close or click the close box to quit Find.
9. From the Exploring Folders panel, use the scroll box to bring the C:FilesLesson Builder folder into view (where C:FilesLesson Builder is the location to which you installed Logos Lesson Builder) and click the folder to select it.
10. From the Edit menu, click Paste.
A copy of the previous Windows version Riched32.dll file now should appear in the Logos Lesson Builder directory.
When you run Lesson Builder, the LessonBuilder display and print features now should appear without extra page breaks. If not, also place a copy of the Riched32.dll file into C:\Windows\System, replacing the current version.