Tag
Raymond Chen explains why the Windows API ReadDirectoryChangesW doesn't provide correlation for rename operations, due to an unwritten assumption that rename events are sequential, which may not hold with concurrent activities.
Raymond Chen continues his series on creating a fake agile wrapper for non-marshalable COM objects by wrapping them in a marshalable object, enabling registration in the global interface table while preserving undefined-behavior-free failures in other apartments.
Raymond Chen speculates on how a buggy control panel extension caused a crash by truncating a 64-bit pointer to 32 bits, likely due to incomplete code updates during 64-bit porting.
Raymond Chen explains how Windows 95 guessed whether a program was a setup program by checking the executable name for magic words like 'setup' or 'install'.
This article explains that the Windows loader sets the bottom bit of an HMODULE handle to indicate the DLL was loaded as a data file (LOAD_LIBRARY_AS_DATAFILE), affecting resource lookup and freeing behavior without adding it to the module list.