Compartir a través de


CreateProject

Creates a C++ project.

function CreateProject( 
   strProjectName, 
   strProjectPath  
);

Parameters

  • strProjectName
    A string containing the project name.

  • strProjectPath
    A string containing the project path.

Return Value

The project object.

Remarks

Call this function to create a C++ project that you can open in Visual Studio. If the wizard's context parameter WizardType is specified as vsWizardAddSubProject, the project is added as a subproject to the existing project. See ContextParams Enum for more information.

Example

See AddFilesToProject.

See Also

Tasks

Creating a Custom Wizard

Concepts

Customizing C++ Wizards with Common JScript Functions

Designing a Wizard

Other Resources

JScript Functions for C++ Wizards