Microsoft KB Archive/165642

= PUB97: Publisher Setup Quits After MSVCRT40.DLL Error Message =

Article ID: 165642

Article Last Modified on 11/7/2002

-

APPLIES TO


 * Microsoft Publisher 97 Standard Edition

-



This article was previously published under Q165642



SYMPTOMS
When Microsoft Publisher 97 Setup is almost finished, you receive the following error message:

This version of MSVCRT40.DLL is intended for Win32s only.

When you click OK, you receive the following additional message:

Artgalry.dll was not registered correctly.

When you click OK, Setup quits. Publisher does not run successfully.

NOTE: This problem may also occur in other applications the use the same setup program.



CAUSE
The copy of Msvcrt40.dll in your C:\Windows\System folder is out of date.

NOTE: This error does not occur if you are running Windows NT Workstation, version 4.0. If you have Windows NT 4.0, you should not replace Msvcrt40.dll.



RESOLUTION
Make sure you have only one copy of Msvcrt40.dll on your hard disk. You can use the Windows 95 Find File feature to search for all copies of this file. Rename any copies of Msvcrt40.dll that are not in the C:\Windows\System folder.

If you still cannot run Publisher setup correctly, replace the copy of Msvcrt40.dll on your hard disk with a copy from the installation media. If you installed Publisher from compact disc, copy Msvcrt40.dll from the root directory on the Publisher 97 compact disc to the C:\Windows\System folder.

If you installed Publisher from disks, use the Extract utility to replace this file. The steps below assume you installed Windows 95 into the default folder and installed Publisher from the A: drive.  Click the Start button, point to Programs, and then click MS-DOS Prompt.  Type the following command, and then press ENTER:

cd\windows\system

Your command prompt now looks similar to this:      C:\Windows\System>  Type the following command, and then press ENTER:

ren msvcrt40.dll msvcrt40.old

 Insert Publisher Disk 2 into the A: drive. Type the following command, and then press ENTER:

extract a:\pub4_2.cab msvcrt40.dll

 When the Extract utility is finished, type the following command, and then press ENTER:

exit

</li></ol>

NOTE: After you replace Msvcrt40.dll, rerun Publisher setup to install it correctly.

<div class="status_section">

STATUS
Microsoft is researching this problem and will post new information here as it becomes available.

Additional query words: pub4 4.00 runtime C error ipf pub97 program Q163831

Keywords: kberrmsg kbsetup KB165642

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.