From 9596745007118e641cdff7bb592fae0936c990ee Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Thu, 14 Jan 2021 07:27:39 +0100 Subject: [PATCH] WIP --- src/GEOM_SWIG/GeomHelper.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/GEOM_SWIG/GeomHelper.cxx b/src/GEOM_SWIG/GeomHelper.cxx index 25b717079..f971360be 100644 --- a/src/GEOM_SWIG/GeomHelper.cxx +++ b/src/GEOM_SWIG/GeomHelper.cxx @@ -49,6 +49,10 @@ std::string BuildGEOMInstance() GEOM_Gen_i *servant = new GEOM_Gen_i(orb,poa,const_cast(&conId.in()),"GEOM_inst_2","GEOM",false,false); PortableServer::ObjectId *zeId = servant->getId(); CORBA::Object_var zeRef = poa->id_to_reference(*zeId); + char *interfaceName = servant->interfaceName(); + std::string interfaceNameCpp(interfaceName); + CORBA::string_free(interfaceName); + KERNEL::RegisterCompo(interfaceNameCpp,zeRef); CORBA::String_var ior = orb->object_to_string(zeRef); return std::string(ior.in()); } -- 2.39.2