The IScriptingContext::get_Application method retrieves a pointer to the IApplicationObject interface of the Application object.
IApplicationObject ** ppApplication
Points to an IApplicationObject interface.
You can use IApplicationObject interface 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.
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.