That time the Word team hired somebody who never showed up
The Old New Thing

                        
                
                    Latest posts
                    

                

                
                    
        
    

    
                        
                
                    Nov 7, 2024                
                
                                            
                            
                                
                            
                            
                                0                            
                        
                                        
                        
                        2                        
                    
                
            

            
                
                    Why do I observe reads from a memory-mapped file when writing large blocks?                
            
            
            
        
        Raymond Chen
                
                The CPU doesn't see the entire write at once.            
        

        
    

    
                        
                
                    Nov 6, 2024                
                
                                            
                            
                                
                            
                            
                                1                            
                        
                                        
                        
                        1                        
                    
                
            

            
                
                    How do I declare an operator overload for my Windows Runtime class?                
            
            
            
        
        Raymond Chen
                
                That's not something expressible in the Windows Runtime.            
        

        
    

    
                        
                
                    Nov 5, 2024                
                
                                            
                            
                                
                            
                            
                                6                            
                        
                                        
                        
                        0                        
                    
                
            

            
                
                    What’s the difference between Display size and Screen size in the Windows 95 display control panel?                
            
            
            
        
        Raymond Chen
                
                No meaningful difference, though others have created a difference.            
        

        
    

    
                        
                
                    Nov 4, 2024                
                
                                            
                            
                                
                            
                            
                                4                            
                        
                                        
                        
                        2                        
                    
                
            

            
                
                    On the limits of time travel in the face of undefined behavior in C                
            
            
            
        
        Raymond Chen
                
                C imposes some constraints, but the principle is mostly still there.            
        

        
    

    
                        
                
                    Nov 1, 2024                
                
                                            
                            
                                
                            
                            
                                7                            
                        
                                        
                        
                        4                        
                    
                
            

            
                
                    On locale-aware substring matching, either case-sensitive or case-insensitive                
            
            
            
        
        Raymond Chen
                
                It's surprisingly complicated, but fortunately, somebody has done it for you.            
        

        
    

    
                        
                
                    Oct 31, 2024                
                
                                            
                            
                                
                            
                            
                                23                            
                        
                                        
                        
                        5                        
                    
                
            

            
                
                    What has case distinction but is neither uppercase nor lowercase?                
            
            
            
        
        Raymond Chen
                
                It has one foot in each world but belongs to neither.            
        

        
    

    
                        
                
                    Oct 30, 2024                
                
                                            
                            
                                
                            
                            
                                0                            
                        
                                        
                        
                        2                        
                    
                
            

            
                
                    I have enabled “take ownership” permission, but I still cannot obtain write access                
            
            
            
        
        Raymond Chen
                
                Taking ownership is only one part of gaining write access.            
        

        
    

    
                        
                
                    Oct 29, 2024                
                
                                            
                            
                                
                            
                            
                                0                            
                        
                                        
                        
                        1                        
                    
                
            

            
                
                    Reverse-engineering what a “short” section is                
            
            
            
        
        Raymond Chen
                
                The long and short of it all.            
        

        
    

    
                        
                
                    Oct 28, 2024                
                
                                            
                            
                                
                            
                            
                                1                            
                        
                                        
                        
                        1                        
                    
                
            

            
                
                    How useful is the hint passed to the std::unordered_… collections?                
            
            
            
        
        Raymond Chen
                
                Only a little, or sometimes not at all.            
        
                
            
            
                Load more posts
            

            

        