To create component, use following constructions
- JScript: var obj = Server.CreateObject("Miraplacid.MSCExec");
- VBScript: set obj = Server.CreateObject("Miraplacid.MSCExec")
Note:
Component designed for
Apartment threading model. Therefore, the best scope of their using is ASP
page level scope.
Using components of version 1.1 in
Application and
Session scopes may cause problems
with your ASP Server (IIS or Chili) productivity.
To learn more about ASP execution scopes, see your ASP Server manual.
Component MSCExecResult is used for storing ExecuteEx method results
(MSCExec object). It has 3 methods to access data from stdout, stderr
and program exit code.