Closed GloriousEggroll closed 4 years ago
I forgot when writing the patch but strlenW could also be replaced with wcslen here and elsewhere in the patches. It should still work for now, but may be required in the future.
thanks for the heads up, i just made a quick edit to it for consistency
Managed to get this working after some help from aeikum and with Herbert over discord. There's two parts.
Part 1: change these two lines in the LAA patch:
to:
This should be done anyway as Herbert described: "the whole thing is about removing wine/unicode.h and libport usage from ntdll IIUC so strrchrW and such have to be replaced with standard msvcrt functions"
Part 2: here's the updated patch which uses RtlCompareUnicodeStrings as wine did when they made the switch from wine/unicode.h to msvcrt:
Here's the reference from aeikum:
https://github.com/wine-mirror/wine/commit/4d93bafe961ed53488ff0fb4b44cb1ad085531fe
I tested this with TOXIKK (purchased copy, not free version), and it loaded properly with access to purchased parts.