[HN Gopher] TheForger's Win32 API Tutorial
       ___________________________________________________________________
        
       TheForger's Win32 API Tutorial
        
       Author : xeonmc
       Score  : 52 points
       Date   : 2025-05-13 13:44 UTC (9 hours ago)
        
 (HTM) web link (winprog.org)
 (TXT) w3m dump (winprog.org)
        
       | dnamlin wrote:
       | Soooo many handles to remember to free in the right order, even
       | before you got into OLE/COM. It was a lot of fun to come up with
       | your own C++ wrappers to put them under RAII -- and this was
       | before "smart pointers." You sort of had to iterate on a few
       | versions of that, trying out mechanisms to scope sharing, to
       | understand why MFC was the way it was.
       | 
       | Fond memories of the #winprog IRC channel. Discussions there,
       | theForger's tutorial, and Charles Petzold's books got me going on
       | Startup Control Panel and the like.
       | 
       | https://web.archive.org/web/20131106030702/http://www.mlin.n...
        
       | gitroom wrote:
       | Oh man, I remember fighting with handle leaks back then too -
       | that stuff was a rite of passage.
        
         | PlunderBunny wrote:
         | I remember that on Win 9x, once you leaked too many handles,
         | bitmaps and icons would just become black boxes.
        
           | adzm wrote:
           | This is still true; there are maximum limits on the number of
           | open handles in a process.
        
       ___________________________________________________________________
       (page generated 2025-05-13 23:01 UTC)