IScriptingContext::get_Application

The IScriptingContext::get_Application method retrieves a pointer to the IApplicationObject interface of the Application object.

Syntax
HRESULT get_Application(
  IApplicationObject ** ppApplication  //pointer to an 
                                       // IApplicationObject interface 
                                       // pointer
); 
 
Parameters
ppApplication
Points to an IApplicationObject interface.
Remarks

You can use IApplicationObject to gain access to variables and objects that have been given application scope. IApplicationObject also exposes methods to lock and unlock an application to prevent concurrent access to application objects and variables.

See Also

IApplicationObject


© 1997 by Microsoft Corporation. All rights reserved.