Description
Parameter or
return value
Method
Executes an existing file on the host
computer. This function only executes
batch, command, and executable files.
It does not execute files that are
associated with executables. For
example, it does not open Microsoft
Word if you execute a .doc file
The parameter contains the fully
qualified path to the file on the host
computer
The return value is TRUE if command
executed
Parameter
=FileName as
string
Return value =
Boolean
boolean
ExecuteHostFile(BSTR
FileName);
Returns the last error generated in
Awrem32 as a string
Return value =
String
BSTR GetError();
Returns the current status of your
connection to the host computer
The possible values include the
following:
■
-1 = Lost connection
■
0 = No connection
■
1 = Session connected
Return value =
Short
short ConnectionStatus();
87
Visual C++ object definitions
Awrem32 functions