Partager via


Servers Tab, Project Information Dialog Box

Displays classes located on servers, their class library, instancing, description, type, and Help information.

Note

Changes you make in the Servers tab requires you to rebuild the .dll or .exe for the new settings to take effect.

  • Server Classes
    Displays a list of all the available classes, both .vcx and in code, which are marked as OLEPublic. Each class in the list has a corresponding .pjx file.

  • Class Library
    Displays the directory path of the class library in which the selected class is stored.

  • Class Name
    Displays the name of the class.

  • Instancing
    Displays one of following options:

    Single Use   Specifies that you can create an instance of the class both inside Visual FoxPro and outside of Visual FoxPro using Automation. Each request for an instance of the class by an Automation client outside of the project causes a separate copy of the Automation server to start. Each instance has a single thread of execution. Although separate instances require more memory, choosing Single Use allows the operating system to apply preemptive multitasking.

    Instancing defaults to Single Use when you create a new project containing OLEPUBLIC classes. This setting is appropriate for building EXE servers.

    Not Creatable   Specifies that you can create instances of the class only inside Visual FoxPro.

    Multi Use   Specifies that you can create an instance of the class both inside Visual FoxPro and outside of Visual FoxPro using Automation. Each request for an instance of the class by an Automation client outside of the project causes an already running copy of the Automation server to be provided as the source for the new instance. Once the server has been created, other applications can use the same instance.

    Instancing defaults to Multi Use when you create a .dll COM Server.

  • Description
    Displays a small description of the class.

    By default Visual FoxPro registers the full Project.Server notation as the description. This ensures consistent registry keys. You can specify a different Description here.

  • Help file
    Displays the Help file associated with the server. Select the dialog button to display the Open dialog box if no file is listed.

  • Help context ID
    Displays the context ID of the Help file associated with the application, if a Help file is distributed with the application.

  • Project name
    Displays the name of the project associated with the server classes.

  • Typelib description
    Displays a description of the class library the selected class is based on.

See Also

Reference

Files Tab, Project Information Dialog Box

Project Manager Window

Project Tab, Project Information Dialog Box

Select Directory Dialog Box

EXE Version Dialog Box

Other Resources

Dialog Boxes (Visual FoxPro)