Share via


BUILD DLL Command

Creates a dynamic-link library (DLL) with a .dll file name extension using class information from a project file.

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 automatically registers the servers in the Server Classes list box on the Servers tab of the Project Information dialog box.

For information about creating custom Automation servers, see Creating Automation Servers.

See Also

BUILD EXE | Build Method | BUILD PROJECT | CREATE PROJECT | MODIFY PROJECT