Did I find the right examples for you? yes no

All Samples(5)  |  Call(5)  |  Derive(0)  |  Import(0)

src/m/a/main-HEAD/Languages/IronPython/IronPython/Lib/iptest/cominterop_util.py   main(Download)
def CreateAgentServer():
    import clr
    from System import Guid
    typelib = clr.LoadTypeLibrary(Guid("A7B93C73-7B81-11D0-AC5F-00C04FD97575"))
    return typelib.AgentServerObjects.AgentServer()

src/m/a/main-HEAD/Languages/IronPython/Tests/interop/com/dlrcomlib/typelib.py   main(Download)
def test_load_typelib():    
    for x in [dlrcomlib_guid, Activator.CreateInstance(Type.GetTypeFromProgID("DlrComLibrary.ParamsInRetval"))]:
        lib = clr.LoadTypeLibrary(x)
 
        #ComTypeLibInfo Members

src/m/a/main-HEAD/Util/IronPython/Lib/iptest/cominterop_util.py   main(Download)
def CreateAgentServer():
    import clr
    from System import Guid
    typelib = clr.LoadTypeLibrary(Guid("A7B93C73-7B81-11D0-AC5F-00C04FD97575"))
    return typelib.AgentServerObjects.AgentServer()

src/i/r/ironpython3-HEAD/Tests/interop/com/dlrcomlib/typelib.py   ironpython3(Download)
def test_load_typelib():    
    for x in [dlrcomlib_guid, Activator.CreateInstance(Type.GetTypeFromProgID("DlrComLibrary.ParamsInRetval"))]:
        lib = clr.LoadTypeLibrary(x)
 
        #ComTypeLibInfo Members

src/i/r/ironpython3-HEAD/Src/IronPython/Lib/iptest/cominterop_util.py   ironpython3(Download)
def CreateAgentServer():
    import clr
    from System import Guid
    typelib = clr.LoadTypeLibrary(Guid("A7B93C73-7B81-11D0-AC5F-00C04FD97575"))
    return typelib.AgentServerObjects.AgentServer()