Secure Tag |
Return to Tag List |
|
The EXECAPP tag is used to execute an external application or DLL. Anything
written to the console by the external program is returned to the EXECAPP tag.
Parameters can be passed to the external application using the PARAM
tag.
For security reasons, all external applications must exist in a single directory per user.
This user directory is configured by the system administrator. EXECAPP does not support
absolute file paths.
|
|
Attributes:
NAME | variable to receive execution result |
VALUE | external application (or DLL) to execute |
TIMEOUT | timeout in milliseconds (default is 10000) |
|
|
|
The following is an example of EXECAPP;
|
|
<SAEXECAPP Name=Test1 VALUE="Test.exe">
<SAPARAM NAME="param1" VALUE="This is a test">
<SAPARAM NAME="param2" VALUE="This is also a test">
</SAEXECAPP>
<SAEXECAPP Name=Test2 VALUE="TestDll.dll?SomeFunc">
<SAPARAM VALUE="This is also a test">
</SAEXECAPP>
|
|
|
|
For developers; the prototypes for creating your own applications and DLL's for
use with SteelArrow are:
apps | | int main( int argc, char* argv[] ) |
DLL | | int FunctionName( int argc, char* argv[] ) |
|