Skip to content

Using COM components? #81

@paddyhoran

Description

@paddyhoran

Is it possible to control applications that expose a COM API with this library? I'm sorry if this is an obvious question.

An example is probably best. In Python I can do the following via pywin32:

    win32.pythoncom.CoInitialize()
    outlook = win32.Dispatch('outlook.application')
    mail = outlook.CreateItem(0)
    mail.To = 'some address'
    mail.Subject = 'Subject'
    mail.body = 'Body'
    mail.send

I know that WinRT is a different technology to COM but I'm wondering if there is interoperability to the point that this crate could be used for a use case like the above?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions