I just published a new article about Using C++ Templates to Implement Dynamic Memory Objects with Custom Allocator. By using these techniques you can separate functionality that uses custom memory management from the underlying memory semantics (heap, stack, shared memory, mapped memory, ...) as well as play with behavior of the allocation process itself.
win32
New article about Win32 cryptography / C++20 templates and concepts
I just posted a new article up on CodeProject, talking about the Win32 Cryptography Next Generation API (CNG) with a detour into C++ template programming involving the new concepts feature that was introduced with C++20. https://www.codeproject.com/Articles/5340250/Using-the-Win32-cryptographic-api-to-hash-data
New article on Win32 Transactions
I just posted a new article online about using Win32 transactions for registry updates in a real-world scenario. You can check it out here.
Deleting your part of the registry
Something I learned recently after making a copy / paste error: If you execute RegDeleteTree on HKEY_CURRENT_USER, there is no safeguard and as soon as you log off and the last reference to its subkeys are released, you won't be logging on to that account again 🙂 That's all.
Site name change
I finally found a good name for my site. Life has taken me in many directions: passionate C++ developer, Japanese language student, Bladesmith, Active Directory admin, and many others. Recently I've been pulled back strongly in the direction of platform development involving COM, win32, and C++. And that's when it hit me. In COM programming, … Continue reading Site name change