microsoft / cppwin32

A modern C++ projection for the Win32 SDK
MIT License
438 stars 28 forks source link

Modern Windows API C++ wrapper? #13

Open BullyWiiPlaza opened 3 years ago

BullyWiiPlaza commented 3 years ago

Am I understanding correctly that this project aims to finally provide a sensible modern C++ wrapper around the old Windows C API similar to the following open source projects/guides? https://github.com/GiovanniDicanio/WinReg https://github.com/alamaison/washer https://github.com/Graham--M/winapi-wrapper https://www.enlyze.com/blog/writing-win32-apps-like-its-2020/part-2

Sadly none of these projects are complete and actively maintained.

So far there is a severe lack in the area of modern C++ Windows API wrappers how it seems since working with outdated constructs suchs as error codes, handles, etc. is not appropriate for modern C++. Writing your own clean wrappers every time is very time consuming. So, it would be great if Microsoft could close this gap in the near future to also make development with the Windows API nicer now with the release of Windows 11. It seems like the community cannot accomplish this without Microsoft's help. Like vcpkg, this project could become a great success and the community can contribute a lot so Microsoft won't have to do all the work either besides the coordination of the open source development.

shalinpather commented 3 years ago

This is indeed a much-needed project for C++ programmers wanting to use modern C++. Unfortunately, it seems this project itself is inactive, or at the least has not progressed since January. No Nuget Package has arrived yet; it might as well be going on within Microsoft, where work is done to combine cppwin32 and cppwinrt. Anyway, some clarity is needed from those overseeing this project's development; otherwise, we are just left here clueless.