Hello.

I was game programming in C# + Unity for the last 10+ years and now I like to relearn Modern C++. I first learned C++ in the VC++ 6.0 days, and my C++ WinAPI goto book was Ben Forta's "Windows 2000 API & COM+ programming". It walks the reader through almost all the essential WinAPI techniques with hands-on working examples. But now when I try the same codes from the book, VS 2022 compiler throws various errors regarding Data Types, API functions, variable passing etc. So, seems like I have to learn how to convert the old data types and re-learn howto properly call API functions to fit the modern C++ environment. How / where should I start to learn how to migrate my old C++ codes into modern C++ env?

I'm not particularly into building GUIs in C++, for that I can use C#. I'm mainly interested in lower-level API programming. The new C++ tutorials and books i've checked out mostly concentrate on GUI programming.
Thanks.