GetParameter

GetParameter returns values set by the script engine.

unsigned int GetParameter(
   Parameter parameter,
   __int64 *integer,
   const char16_t **wstring
);

Parameters

parameteridentifer of the parameter.
integerreturning integer value.
wstringreturning 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
Comments (0)Listen All
Characters left: 2500
 

Contact Ekky Software

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

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