Forum
Please
Log In
to post a new message or reply to an existing one. If you are not registered, please
register.
NOTE: Some forums may be read-only if you are not currently subscribed to
our technical support services.
Subject |
Author |
Date |
|
Kosuke Kamei
|
Nov 29, 2006 - 7:44 AM
|
How do I create Built-in functions and variables with Scripting ? Is it possible?
|
|
Technical Support
|
Nov 29, 2006 - 12:37 PM
|
You should use COM interfaces defined in Active Scripting SDK. The CScriptHost class in the SimpleScripting sample demonstrates can be a simple solution. The CScriptHost::Initialize() method in it invokes the IActiveScript::AddNamedItem() interface method of the CScriptHost::m_pEngine() property for exporting the AutoWindow variable into the script context.
|
|