ADT95: Error Installing ADT Application with OLE ControlsLast reviewed: May 12, 1997Article ID: Q160120 |
The information in this article applies to:
SYMPTOMSModerate: Requires basic macro, coding, and interoperability skills. When you run the Setup Wizard in Microsoft Access Developer's Toolkit version 7.0 to create Setup files for your custom application that contains OLE Controls, and then you run Setup for your application on another computer, you may receive the following error message:
Mfc40.dll was unable to register itself in the system registry.When you click OK, you receive an error message that Setup was not completed successfully.
CAUSEYour application's Setup files contain a mismatched version of the Msvcrt40.dll file. The size of the mismatched file is approximately 65 kilobytes, or 65,000 bytes. The size may vary slightly depending on the program that supplied it.
RESOLUTIONTo work around this problem, follow these steps:
Product Media Location CAB File Name -------------------------------------------------------------- Microsoft Office Compact Disc \OS\System N/A Professional for Windows 95 Microsoft Office Diskettes Disk 2 Msoff2.cab Professional for Windows 95 Microsoft Access Diskettes Disk 2 Access2.cab for Windows 95If you have Microsoft Office 95 Professional for Windows 95 or Microsoft Access for Windows 95 on diskettes, the files are stored in a compressed file format called cabinet files (.cab). You must use the Extract.exe utility on Disk 1 to decompress and restore the Msvcrt40.dll file to your computer. For more information about using Extract.exe, please see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q132913 TITLE : How to Use EXTRACT.EXE to Copy Files from DMF Disks MORE INFORMATIONWhen you run Setup for some software programs, such as Visual C++, ActiveX SDK, and Windows NT version 4.0, the program installs a smaller, debug version of Msvcrt40.dll on your computer. Because that version of the file is newer than the one included with Microsoft Office Professional for Windows 95 or Microsoft Access for Windows 95, the Setup program does not overwrite it if you reinstall Microsoft Access. You must restore the correct version of the file manually from the original media. Msvcrt40.dll is one of three files you must include with the Setup files for your custom application if your application uses OLE custom controls. The other two files are Mfc40.dll and Olepro32.dll.
REFERENCESFor more information about incorrect versions of Msvcrt40.dll, please see the following articles in the Microsoft Knowledge Base:
ARTICLE-ID: Q154591 TITLE : BUG: Wrong Version of MSVCRT40.DLL (Forwarder DLL) in Windows 95 ARTICLE-ID: Q153733 TITLE : PRB: Wrong Mfc40.dll and Msvcrt40.dll from ActiveX CD-ROM Disc |
Additional query words: ADT
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |