Blog
Practical articles from KomuraSoft LLC about website development, SEO, Google Ads, Windows development, legacy asset reuse, and bug investigation.
Talk to KomuraSoft LLC about website development, SEO, Google Ads, existing site improvement, Windows development, or technical consulting.
Talk about Website Development / SEO / Google Ads-
Why Windows Code Should Prefer Event Waits Over Timer Polling - Avoiding ~15.6 ms Granularity
Sleep and timed waits on Windows are bound to a clock granularity of about 15.6 ms, so they are rarely as precise as they look. Here is why work arrival, I/O...
-
Checklist for Unexpected Exceptions - A Quick Decision Table for Whether to Exit or Keep Running
A practical guide for deciding whether an app should exit or keep running when an unexpected exception occurs. Three options and a decision table organized a...
-
What Windows Processor Scheduling Actually Changes - Quantum, Priority Boosts, and P-Cores / E-Cores
Windows Processor scheduling does not change CPU speed; it changes quantum length and foreground bias. This article covers audio dropout fixes, QoS, and how ...
-
How to Compare Program Versions on Windows: From Power Mode Setup to the Limits of Repeatability
A practical guide to fairly comparing the runtime speed of old and new versions of your own program on Windows. Covers how to align the power mode, thermals,...
-
How to Isolate Only the Administrator-Required Work in a Windows App
A practical design for splitting the administrator-only work in a Windows app into a separate EXE: an administrator broker pattern covering UAC, runas launch...
-
Best Practices for Avoiding Plaintext Secrets in Windows App Config Files
On Windows desktop apps, leaving passwords or tokens in plaintext config is risky. This post lays out where DPAPI (ProtectedData) actually helps, how to choo...
-
What to Check Before Migrating .NET Framework to .NET — A Practical Premigration Checklist
A practical checklist for what to clean up, what to peel off, and what to drop before you start a .NET Framework to .NET migration — covering project-type di...
-
Converting YUV Frames to RGB in Media Foundation - Source Reader Auto Conversion vs. Manual Conversion
Two ways to turn the NV12 or YUY2 output of a Media Foundation decoder into RGB. We compare Source Reader auto conversion against manual conversion, and cove...
-
Windows NIC Advanced Properties Cheat Sheet - Jumbo Packet, RSS, LSO, RSC, Flow Control, EEE, Wake on LAN
A practical guide to the Windows NIC Advanced tab. Walks through Speed & Duplex, Jumbo, RSS, LSO, RSC, Interrupt Moderation, EEE, and Wake on LAN, explaining...
-
How to Extract a Still Image from an MP4 at a Specific Time with Media Foundation - A Single .cpp File You Can Paste In
Walks through pulling the frame closest to a target time from an MP4 with Media Foundation's Source Reader and saving it as a PNG. Covers the pitfalls - seek...