Getting the Global Rogue Wave Script Context
A Rogue Wave Script context is a gateway between Rogue Wave® Views and the scripting language that should be created before binding any Rogue Wave Views objects. If, as explained in the previous section, you have included the script.h header file in the files of your application and linked that application with the appropriate libraries, the global context will be created automatically.
To activate this context, invoke the following function:
IlvScriptLanguage* jvscript = IlvScriptLanguage::Get("JvScript");
IlvScriptContext* theContext = jvscript->getGlobalContext();
This function returns a pointer to the global Rogue Wave Script context.
Version 6.0
Copyright © 2015, Rogue Wave Software, Inc. All Rights Reserved.