In oleauto.inc there is a duplicate definition:
! LHashValOfNameSys
! LHashValOfNameSys "LHashValOfNameSysA"
The compiler throws an error if you compile with #unique on.
You can solve the problem using
! LHashValOfNameSys "LHashValOfNameSysA"
! LHashValOfNameSysW "LHashValOfNameSys"
This function has the particularity that the unicode version was named as "LHashValOfNameSys" instead of "LHashValOfNameSysW".