def test_ResolveOxid2(self): dce, rpctransport = self.connect() scm = dcomrt.IActivation(dce) iInterface = scm.RemoteActivation(comev.CLSID_EventSystem, comev.IID_IEventSystem) objExporter = dcomrt.IObjectExporter(dce) objExporter.ResolveOxid2(iInterface.get_oxid(), (7, ))
def test_ResolveOxid2(self): dce, rpctransport = self.connect() #scm = dcomrt.IRemoteSCMActivator(dce) #iInterface = scm.RemoteCreateInstance(comev.CLSID_EventSystem, comev.IID_IEventSystem) scm = dcomrt.IActivation(dce) iInterface = scm.RemoteActivation(comev.CLSID_EventSystem, comev.IID_IEventSystem) objExporter = dcomrt.IObjectExporter(dce) stringBindings = objExporter.ResolveOxid2(iInterface.get_oxid(), (7, ))
def test_RemoteActivation(self): dce, rpctransport = self.connect() scm = dcomrt.IActivation(dce) iInterface = scm.RemoteActivation(comev.CLSID_EventSystem, comev.IID_IEventSystem)