一维与二维条形码的融合设计
这是一项关于条形码演进的小创意。自20世纪70年代起,传统一维条形码便已投入使用,而未来几年可能被二维QR码取代。作者发现尚未有人将UPC条形码嵌入QR码中,于是自行设计了一款。当手机靠近该码、无法识别角落方块时,仍可读取其中的一维条形码数字。
这是一项关于条形码演进的小创意。自20世纪70年代起,传统一维条形码便已投入使用,而未来几年可能被二维QR码取代。作者发现尚未有人将UPC条形码嵌入QR码中,于是自行设计了一款。当手机靠近该码、无法识别角落方块时,仍可读取其中的一维条形码数字。
A developer encountered a crash caused by a thread still executing code from a third-party DLL after the DLL had been unloaded. The issue arose because a callback or ongoing operation was not properly canceled before the DLL was freed. The post highlights the dangers of unloading DLLs while threads may still be running code from them.
Once a file is opened with FILE_FLAG_DELETE_ON_CLOSE, the deletion cannot be undone. However, an alternative approach can achieve a similar result without the irreversible flag.
The article describes a debugging scenario where a DLL that was not formally unloaded was nonetheless absent from memory, tracing the root cause to the interaction of two separate bugs in the system's code.
Raymond Chen investigates a mystery where a DLL disappeared from memory without being formally unloaded. The article begins a deep dive into how Windows manages module references, examining possible causes like explicit FreeLibrary calls, reference count issues, or unexpected thread detachments. This first installment sets the stage for diagnosing the missing DLL.
Windows 95 used a set of heuristics to determine whether a running program was a setup program. These heuristics included checking file attributes like the presence of a setup logo bitmap or specific version information.