GetModuleHandleW is not available for UWP project targeting Win10
Open
Nobody has claimed this yet.
bug
- Dominant language
- C++
- Stars
- 3k
- Forks
- 300
- Avg merge
- 19h 12m
- Merged PRs (30d)
- 1
Description
The use of GetModuleHandleW in result_macros.h is causing a compilation error for UWP projects minimally targeting Win10 - it is flagged as an unknown identifier.
From this page, it looks like it was never included: APIs present on all Windows 10 devices
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in result_macros.h and verify where GetModuleHandleW is referenced for UWP projects minimally targeting Win10. Check the linked Windows API availability documentation and confirm the issue is resolved when that project configuration compiles without an unknown-identifier error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100