Should use GetDllVersion for seeing what common controls is available
Open
enhancement
- Dominant language
- C#
- Stars
- 4.9k
- Forks
- 1.1k
- Avg merge
- 20h 23m
- Merged PRs (30d)
- 103
Description
In [`Application.InitializeComCtlSupportsVisualStyles()`] we're scraping for known exports to determine the version of common controls that is available. That's error prone and why they've added `DllGetVersion` to the various shell dlls. There shouldn't be a "binding" issue as called out in the code.
Feel free to use my implementation as a reference, I don't need credited. https://github.com/JeremyKuhne/WInterop/blob/master/src/WInterop.Desktop/Windows/Windows.cs#L712
Contributor guide
Assessment
This issue has not been assessed yet.