Instantiated when a project is created or opened.
Syntax
Project
Remarks
A project object is instantiated when you issue CREATE PROJECT, MODIFY PROJECT, BUILD APP, BUILD DLL, BUILD EXE, or BUILD PROJECT.
Note that the project object and its properties and methods are not available in the ProjectHook object Init event. Project object property values you set or methods you invoke in the ProjectHook object Init event are ignored.
Note that a project object is a COM object, so assigning a project object reference to a memory variable creates a memory variable of class “Unknown Type.”
For more information about projects, see Project Manager Hooks in Chapter 32, “Application Development and Developer Productivity,” of the Programmer's Guide.