![]() |
#32 |
Участник
|
Цитата:
Код остался такой же, только с примененными советами class FCH_ThreadDemo { } static client void main() { Thread t; container result; ; t = new Thread(); t.run(classnum(FCH_ThreadDemo), staticmethodstr(FCH_ThreadDemo, run)); while (t.status() == 1) //fixed { sleep(500); } [result] = t.getOutputParm(); info(conpeek(result,1)); } static client void run(Thread t) { t.setOutputParm(['Hello']); } Вызов FCH_ThreadDemo::main(); |
|
Теги |
com connector, com-объект, thread |
|
|