Good materials/resources to learn object lifetime properly for the Win32 API
Hi everyone,
so basically in a nutshell, I am a C# (.NET) developer with unfortunately only 2 years of programming. Only recently, have I stumbled into low level C programming with Windows API as part of my hobby, and as part of my incoming low level win32 API project, I would like to transition into C++. I picked up a book or two on Windows API programming, but since I just started with C++, so I am lacking basics in that department too in order to progress. I have tried to read up on RAII yesterday and I understand the concept/premise of it, but naturally, i am struggling to understand, how to implement object lifetime properly, especially when i am going to be wrapping Windows API into objects.
I wanted to ask, if anyone has good materials for beginners like me to learn and understand this concept properly.
Thanks