AI 摘要Using Microsoft Comic Chat's open-source release—where v1.0-pre and v1.0 shared the same internal version number—as an example, the article explains that version control and version numbering are different things. Version control records source code history and coordinates changes, while version numbering is a release management task of stamping a build-accessible number into a resource or manifest file. The author concludes that the missed version increment was a release management lapse by the Research division (which rarely needs mass-market release diligence), not a failure of version control.
AI 摘要The article examines whether CoreApplication.Properties can manage the lifetime of a non-marshalable object, but since it relies on RoGetAgileReference, storing such an object fails with CO_E_NOT_SUPPORTED. An alternative approach of wrapping the non-marshalable object in a marshalable wrapper and storing it under a generated key would work, but it adds unnecessary complexity. It's simpler to just keep the marshalable wrapper itself, so CoreApplication.Properties provides no added value.
AI 摘要When a non-agile object is stored in CoreApplication.Properties, it is wrapped via RoGetAgileReference, and the reference is released when the creating apartment shuts down, destroying the object. The key-value pair remains in the Properties collection, so HasKey() still returns true, but attempting to retrieve it fails with E_INVALIDARG because the entry is a poisoned reference to an already-destroyed object. Such an expired entry cannot be accessed; it can only be removed.
AI 摘要Entries in CoreApplication.Properties do not actually expire when the originating apartment shuts down; rather, if the stored objects are non-agile, they become unusable because COM wraps them in an agile wrapper and uses proxies that must call back to the object's original thread. What Luca observed as 'expiring' entries was really just the non-agile object values failing once their apartment was gone, likely because he implemented the COM objects by hand instead of using libraries that produce agile objects by default.
AI 摘要This article explains that entries added to CoreApplication.Properties do not expire when the COM apartment that added them shuts down; they remain accessible, as demonstrated by a code example where a value added on a secondary thread survives after that thread's apartment is uninitialized. However, the entries do expire when the last apartment in the process shuts down, because that is when COM shuts down entirely for the process.
AI 摘要Installing multiple security or anti-malware products simultaneously is risky because they may mistake each other for malware, and system-level modifications like detoured functions can create conflicts or deadlocks. Adding each product to the other's exclusion list only partially solves the problem. Nevertheless, large enterprises often feel forced to run multiple security tools (anti-malware, endpoint detection and response, data loss protection, data classification) since no single product meets all their needs, accepting the risk of conflicts.
AI 摘要The article explains why calling SHGetFileInfo on a path like "C:\dir\.." fails: the shell namespace parser treats each path component as a child item, and since no folder contains a child named "..", the parse fails because the namespace has no concept of a "move up" component. The author notes that the parser cannot simply normalize the path beforehand, because shell namespace folders can define their own syntax (e.g., URI parsing) where ".." or backslashes have no special meaning. Developers who need ".." resolution should instead use GetFullPathName or PathAllocCombine.
AI 摘要The article explains that passing ".." to SHGetFileInfo is treated as a relative path resolved against the current directory, so the returned icon varies depending on where the program is run—at or near the drive root it resolves to the drive itself, yielding a drive icon instead of a folder icon. To reliably get a generic folder icon, you should use the SHGFI_USEFILEATTRIBUTES flag along with FILE_ATTRIBUTE_DIRECTORY, which tells the function to return the icon it would use for any directory regardless of the actual path.
AI 摘要The article explains that when the Windows documentation's 'supported technologies' table omits a particular file system or network protocol, its absence does not mean the operation is unsupported—it only means Microsoft lacks information about it. Technologies that definitively do not support an operation are explicitly listed with a 'No' entry. Since third parties can implement their own protocols and file systems, readers should consult the product's own documentation for technologies not covered in the Windows docs.
AI 摘要On Microsoft's 1987 employee price list, the MS-DOS BASIC Compiler was cheaper than the BASIC Interpreter because employee pricing was based on the cost of goods plus administrative overhead, not retail value. The compiler was likely cheaper to produce because it shipped with a much thinner manual—assuming users already knew BASIC and covering only how to run the compiler and how compiled BASIC differs from interpreted BASIC. Less paper and a smaller, lighter box meant lower production, shipping, and storage costs.