Rogue Wave Script Programming > Making Rogue Wave Views Applications Scriptable
 
Making Rogue Wave Views Applications Scriptable
To use Rogue Wave Script in a Rogue Wave Views application, you have to make this application scriptable. The interpreter of Rogue Wave Script for Rogue Wave Views is implemented as C++ libraries. Therefore, if you want to use a Rogue Wave Views application with Rogue Wave Script for Rogue Wave Views, you have to:
*Include the appropriate header file in the source files of your application, as described in Including the Header File.
*Link your application using the supplied Rogue Wave Script for Rogue Wave Views libraries, as described in Linking with Rogue Wave Script for Rogue Wave Views Libraries.
Note: You can also generate Rogue Wave Views scriptable applications from the extension of Rogue Wave Views Studio that lets you write Rogue Wave Views applications in Rogue Wave Script. For more information, refer to the Rogue Wave Views Studio User’s Manual.
Including the Header File
Include the following header file in the main source file of your application:
#include <ilviews/jvscript/script.h>
You need to include this file only once. You do not have to include it in each one of the source files of your application.
Linking with Rogue Wave Script for Rogue Wave Views Libraries
In addition to the Rogue Wave Views libraries, you must link your application with the following Rogue Wave Script for Rogue Wave Views libraries:
On Microsoft Windows
*ilvjs.lib
*iljs.lib
*iljsgide.lib
On UNIX
*libilvjs
*libiljs
*libiljsgide

Version 5.7
Copyright © 2013, Rogue Wave Software, Inc. All Rights Reserved.