Microsoft KB Archive/101019

{| = How to Create an .FLL with Visual C++ Version 1.0 =
 * width="100%"|

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 -  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 .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 Version          : 2.50 Platform         : WINDOWS
 * }