Instantiates the Java object silk.performer.SilkPerformer and returns a handle on it. The Java object must be released by the JavaFreeObject function.
Java.bdh
JavaLoadSilkPerformer(): number;
Handle on the Java object.
var hPerf : number; dcltrans transaction TInit begin // Load and start the JVM. JavaCreateJavaVM(); // instantiate the SilkPerformer java class hPerf := JavaLoadSilkPerformer(); end TInit; transaction THello begin JavaSetString(hPerf, "Print with SilkPerformer object"); JavaCallMethod(hPerf, "doHello"); end THello; transaction TEnd begin JavaFreeObject(hPerf); end TEnd;