Partager via


BUILD DLL Command

Creates a single-threaded Windows dynamic-link library (.dll), or Automation server, using class definitions from a Visual FoxPro project.

BUILD DLL DLLFileName FROM ProjectName [RECOMPILE]

Parameters

  • DLLFileName
    Specifies the file name of the dynamic-link library to build. The default file name extension is .dll.

  • FROM ProjectName
    Specifies the name of the project from which the dynamic-link library is built.

    The project must contain a class designated as OLEPUBLIC or an error message is displayed. To designate a class as OLEPUBLIC in program code, include the OLEPUBLIC keyword in DEFINE CLASS. To designate a class as OLEPUBLIC in the Class Designer, choose Class Info from the Class Menu and select the OLE Public check box.

  • [RECOMPILE]
    Specifies that the project be compiled before the dynamic-link library is built. All program and format files; form, label, report, and visual class library source code; and stored procedures in databases in the project are compiled.

Remarks

BUILD DLL registers the server automatically in the Server Classes list on the Servers tab of the Project Information dialog box.

See Also

Tasks

How to: Build Applications

Reference

BUILD EXE Command

Build Method

BUILD PROJECT Command

CREATE PROJECT Command

MODIFY PROJECT Command

Other Resources

Automation and COM Servers

Commands (Visual FoxPro)

Language Reference (Visual FoxPro)