Condividi tramite


BUILD MTDLL Command

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

BUILD MTDLL MTDLLFileName FROM ProjectName [RECOMPILE]

Parameters

  • MTDLLFileName
    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

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

The Visual FoxPro run time that creates multithreaded .dll files is designed to create only in-process servers. Many user input commands and functions are not supported. For details see, Interoperability and the Internet.

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

See Also

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