Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Determine whether a COM interface is one of the known symbols not only by its name but also by using its iid #529

Merged
merged 5 commits into from
Apr 16, 2024

Conversation

junkmd
Copy link
Collaborator

@junkmd junkmd commented Apr 15, 2024

While fixing the bug reported in #524, I noticed something.

If there is an interface in the COM type library with the same name as a symbol defined in ctypes or ctypes.wintypes, the codegenerator can only identify the symbol by its name, which leads to the symbol being imported and used inappropriately.

To prevent this confusion, the codegenerator will now determine whether a COM interface is one of the known symbols not only by its name but also by using its iid.

@junkmd junkmd added this to the 1.4.2 milestone Apr 15, 2024
junkmd added a commit to junkmd/pywinauto that referenced this pull request Apr 15, 2024
junkmd added a commit to junkmd/pywinauto that referenced this pull request Apr 16, 2024
@junkmd
Copy link
Collaborator Author

junkmd commented Apr 16, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant