Blog
Practical articles from KomuraSoft LLC about website development, SEO, Google Ads, Windows development, legacy asset reuse, and bug investigation.
AI search across this site
Search queries are sent to Cloudflare AI Search to generate results. Please do not enter personal information.
-
Why TCP Retransmissions Stall Industrial Camera Communication, and How to Isolate Them
How to isolate the cause when industrial camera communication stalls for several seconds due to TCP retransmissions, covering packet loss, RTO, RFC1323 times...
-
A Practical Guide to FileSystemWatcher - Handling Missed and Duplicate Events
We organize how to use FileSystemWatcher and its pitfalls - missed events, duplicate notifications, completion-detection traps, rescans, atomic claims, and i...
-
An Introduction to Media Foundation - Understanding the API Through a COM Lens
We explain what Media Foundation is, together with the basic vocabulary of Windows media APIs - COM, HRESULT, IMFSourceReader, MFTs - in the order you should...
-
A Practical Decision Table for C# async/await - Task.Run and ConfigureAwait
We organize C# async/await best practices - I/O waits, CPU work, Task.Run, ConfigureAwait(false), and fire-and-forget - complete with a decision table.
-
A Practical Guide to Getting as Close to Soft Real-Time as Possible on Ordinary Windows
We organize how to stabilize periodic and low-latency processing on ordinary Windows, covering timer resolution, priorities, power settings, and monitoring.
-
Mutual Exclusion Fundamentals for File-Based Integration - Best Practices for File Locks and Atomic Claims
We organize mutual exclusion for file-based integration around file locks, atomic claims, temp -> rename, and idempotency, and lay out designs that prevent a...
-
Calling Native DLLs from C#: C++/CLI Wrapper vs P/Invoke
When P/Invoke is enough and when a C++/CLI wrapper pays off for calling native DLLs from C#: C++ classes, ownership, exceptions, callbacks — with sample code.
-
An Introduction to HCP Charts and MakingHCPChartSkill
We explain what HCP charts are and walk through how MakingHCPChartSkill converts HCP-DSL into deterministic SVG, how to read the output, and how to use it.
-
COM STA/MTA Fundamentals - Threading Models and How to Avoid Hangs
Why UI threads are STA, how marshaling across apartments works, and why COM calls hang without message pumping - with diagrams and a deadlock example.
-
A Worked Example of a COM Bridge for Calling a 64-bit DLL from a 32-bit App
When a 32-bit app cannot call a 64-bit DLL directly, a COM bridge can connect them. We walk through the approach, including the Windows constraints, the arch...