How to Create an .FLL with Visual C++ Version 1.0

Last reviewed: October 10, 1997
Article ID: Q101019
2.50 WINDOWS kbtool kbprg

The information in this article applies to:

  • Microsoft FoxPro Library Construction Kit version 2.5
  • Microsoft FoxPro for Windows, version 2.5
  • Microsoft Visual C++ for Windows, versions 1.0, 1.5, 1.51, 1.52

SUMMARY

Below are step-by-step instructions for compiling a .FLL file using Visual C++ version 1.0 and FoxPro Library Construction Kit (LCK) version 2.5.

MORE INFORMATION

  1. From the VC Workbench menu, choose Project -> New to bring up the New Project dialog box.

  2. In the New Project dialog box, choose Project Type = Windows dynamic-link library (.DLL). Close the dialog box.

    When you close the New Project dialog box, the Edit - <Project> dialog box is presented.

  3. Select each of your C API source modules for inclusion in the project.

  4. Select PROAPIML.LIB (Type: .LIB) from the LCK directory.

  5. From the VC Workbench menu, choose Options -> Project, which brings up the Project Options dialog box.

  6. From the Project Options dialog box, choose Compiler.

  7. From the Category list box, select "Full (using Program database)".

  8. Under Code Generation, set CPU to 386.

  9. Under Memory Model, set Model appropriate to LARGE and segment Setup to " "SS != DS; DS NOT loaded on fn entry"".

  10. Under Debug Options, select Full.

  11. From the Windows Prolog/Epilog list, select PROTECTMODE WINDOWS DLL.

  12. Close the Compiler Options dialog box.

You are now ready to build the .FLL.

The output file will have a .DLL extension. After compilation, you can test the newly created module by renaming the file with an .FLL extension or by issuing the following command:

   Set Library to <module>.DLL


Additional reference words: FoxWin 2.50 LCK Visual C C++ Library 1.00 1.50
1.51 1.52
Construction Kit fll unresolved external
KBCategory: kbtool kbprg
KBSubcategory: FxtoolLck
Keywords : FxtoolLck kbprg kbtool
Version : 2.50
Platform : WINDOWS


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: October 10, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.