The information in this article applies to:
SYMPTOMSThe error message "LINK : warning L4051 : vbdcl10e.lib : cannot find library" or "LINK : warning L4051 : vbdrt10e.lib : cannot find library" can occur when linking your program with either CMNDLG.LIB or SPIN.LIB in the Standard Edition of Visual Basic for MS-DOS. You can safely ignore these error messages. CAUSEThis warning occurs because the CMNDLG.LIB or SPIN.LIB libraries were compiled incorrectly in the Professional Edition of Visual Basic for MS-DOS. Because these libraries have different names in the professional edition, the name VBDCL10E.LIB is embedded within the CMNDLG.LIB library and the name VBDRT10E.LIB is embedded within the SPIN.LIB library. RESOLUTIONBecause, by default, the standard edition includes the equivalent libraries but with different names, you can ignore these error messages. WORKAROUNDTo work around these problems, use the LINK option /NOD:VBDCL10E.LIB to link programs that use the SPIN.LIB library file, and use the LINK option /NOD:VBDRT10E.LIB to link programs that use the CMNDLG.LIB library file. link /NOD:VBDCL10E.LIB spindemo,,,spin;Another workaround for CMNDLG.LIB is to recompile it since the source files are included with the product. Load the project CMNDLG.MAK. Then from the Run menu, choose Make Library. Unfortunately, SPIN.LIB cannot be recompiled because the source files for it are not included. STATUSMicrosoft has confirmed this to be a bug in the Standard Edition of Microsoft Visual Basic version 1.0 for MS-DOS. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available. MORE INFORMATIONSteps to Reproduce Problem
The following steps reproduce the other error:
Additional query words: VBmsdos buglist1.00 1.00
Keywords : |
Last Reviewed: December 4, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |