GetParameter

GetParameter returns values set by the script engine.
unsigned int GetParameter(
   Parameter parameter,
   __int64 *integer,
   const char16_t **wstring
);

Parameters

parameter Identifer of the parameter.
integer Returning integer value.
wstring Returning constant wide character string value.

Return Values

If the method succeeds, the return value is zero else see error codes for more details.

Remarks

Example Use
char16_t *message;
CTScript script();
script.SetParameter(CTScript::SOURCE_FILE,TEXT("D:\\temporary\\mySource.ts"));
if(script.ExecuteStaticMethod()){//error
   if(script.GetParameter(CTScript::LAST_ERROR,NULL,&message))
      message = TEXT("Unknown script error");
   MessageBox(message);
}

Also See

ExecuteStaticMethod, SetParameter
 

Contact Ekky Software

All around the world Ekky Software is contactable seven days of the week by submitting the following details.

Thank you for your time and interest.
Ekky Software Customer Support Team.

Ekky Software Product Range
Ekky Software Homepage Texas Business Software ObjectDatabase++ TScript Ekky Software Homepage Texas Business Software ObjectDatabase++ TScript