DOC: Unresolved External with "Ignore all Default Libraries"

Last reviewed: January 8, 1997
Article ID: Q161896
The information in this article applies to:
  • Microsoft Visual FoxPro for Windows, version 5.0

SUMMARY

In Chapter 28 of the Microsoft Visual FoxPro "Developer's Guide," section "Building and Debugging Libraries and ActiveX Controls," you are directed to "Set Ignore all default libraries" in the project link settings.

If you set this option, the following link error may occur when building an FLL or OCX:

   error LNK2001: unresolved external symbol __DllMainCRTStartup@12

The "Ignore all default libraries" check box in the Link tab of the Project Settings dialog box should be unmarked in order to build an FLL or OCX.


KBCategory: kbprg kbtool kbdocerr kberrmsg
KBSubcategory: FxtoolLck FxotherDochelp
Additional reference words: 5.00 vfoxwin kbdsd



THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: January 8, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.