This change updates phlib with broader native API compatibility shims, new CRC32/CRC32C tables, and safer utility helpers. It also fixes a number of synchronization, formatting, environment, and process-creation edge cases, adds correlation-vector support, hardens SID conversion and image-resource loading, and cleans up several Windows compatibility fixes across the library.
Note: Assigning the constant value -1 to variables or array elements of type ULONG is not allowed in constant expressions or initializer lists without an explicit cast. C++11 and later generate multiple warnings that this assignment is not safe or portable. We instead use a LONG[] for the table since it allows -1 directly and safely, holds all positive values that we need, and resolves the narrowing conversion errors.