0

Does anyone have experience using python to create a COM object that implements some custom IDLs?

Basically I'd like to know if it's extremely simple to do compared to c++, and if it is do you know of a good tutorial?

3 Answers 3

3

The tutorial you are looking for is in the Python Programming On Win32 book, by Mark Hammond and Andy Robinson. A bit old, and the COM object creation info is distributed across some chapters.

A more recent example, simple COM server using Python, can give you a quick start.

Sign up to request clarification or add additional context in comments.

Comments

2

There is also comtypes, which allows to access and implement custom interfaces. An article on codeproject has a nice tutorial.

Comments

1

You should also check Advance COM a free chapter from Python Programming On Win32 mentioned by gimel.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.