There were problems with handling the event at the COM object. I use 1C 8.3.8, in the project I create a new COMObject and subscribe to its event through the "Add comObject.Start, PriStart" command. The PriStar method takes one parameter, which is also a COMObject and nothing happens when you try to access its fields in 1C. How can I fix this?
&НаКлиенте Процедура ПриОткрытии(Отказ) comObject = Новый COMобъект("Rec.Com.Video"); // Подписка на событиe ДобавитьОбработчик comObject.Start, ПриСтарте; // Запуск comObject.Start(); КонецПроцедуры &НаКлиенте Процедура ПриСтарте(arg) Сообщить("Старт"+arg.Time); КонецПроцедуры