May 28, 2025 Post comments count1 Post likes count2 How do I convert a WIC bitmap back to a GDI HBITMAP? Raymond Chen You can copy the bits into a DIB section.
May 26, 2025 Post comments count2 Post likes count0 Why does EnumProcessModules report no modules on a process that was created suspended? Raymond Chen There are no modules yet because you didn't give them a chance to load.
May 23, 2025 Post comments count6 Post likes count3 How can I detect if one of my helper processes is launching child processes? Raymond Chen You can ask a job object to keep track for you.
May 22, 2025 Post comments count4 Post likes count3 How can I create a window the size of the screen without it being treated as a fullscreen window? Raymond Chen You can declare that you aren't rude.
May 21, 2025 Post comments count5 Post likes count2 Silly parlor tricks: Promoting a 32-bit value to a 64-bit value when you don’t care about garbage in the upper bits Raymond Chen Inline assembly that doesn't do anything.
May 16, 2025 Post comments count7 Post likes count2 What’s with the weird wReserved value at the start of the DECIMAL structure? Raymond Chen It's where the discriminant goes when the DECIMAL is put "inside" a VARIANT.
May 15, 2025 Post comments count6 Post likes count1 How do I force RunOnce commands to run in a specific order? Raymond Chen Run them in the desired order yourself.
May 14, 2025 Post comments count0 Post likes count1 If I mark my thread pool callback as long-running, does it still count toward the thread pool thread limit? Raymond Chen Yes, because it's still in the thread pool.
May 9, 2025 Post comments count12 Post likes count4 How can I wait for Clipboard History to recognize a clipboard change before I change it again? Raymond Chen Listen for the change event.
May 8, 2025 Post comments count6 Post likes count2 Why doesn’t Clipboard History capture rapid changes to clipboard contents? Raymond Chen Clipboard history operates asynchronously, so you are changing it before it can respond to the changes.