Skip to content

Support MWCC 4.1+ series compilers#1

Merged
encounter merged 7 commits intomainfrom
update
Oct 27, 2024
Merged

Support MWCC 4.1+ series compilers#1
encounter merged 7 commits intomainfrom
update

Conversation

@encounter
Copy link
Copy Markdown
Owner

This implements support for MWCC 4.1+ (aka GC 3.0a3 and above).

Notable changes:

  • Hook CreateFileMappingA / MapViewOfFile: These compilers use these functions rather than ReadFile for headers.
  • Hook MultiByteToWideChar: This function's behavior changed in Windows 2000 SP4 / Windows XP, and certain compiler versions rely on the old behavior. This fully reimplements it for CP-932 with the legacy behavior.
  • Explicitly fail on invalid UTF-8 inputs. Add a warning log when the Shift JIS output is invalid.

@encounter encounter merged commit 9120080 into main Oct 27, 2024
@encounter encounter deleted the update branch October 27, 2024 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant