Skip to content

Wmain

Christophe Geuzaine requested to merge wmain into master

Better fix for unicode command line arguments on Windows, using wmain() instead of main().

It's ugly, but it has less side effects than the previous fix based on GetCommandLineW(), which required its own ugly changes and complicated logic to correctly handle the initialization of the API, where "command line" arguments can be passed (or not) through each target language.

Should fix #979 (closed) for good.

Merge request reports