Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip first command line arg for ZoneBuilder #151

Open
mxve opened this issue Oct 10, 2024 · 0 comments
Open

Skip first command line arg for ZoneBuilder #151

mxve opened this issue Oct 10, 2024 · 0 comments

Comments

@mxve
Copy link
Contributor

mxve commented Oct 10, 2024

ZoneBuilder currently parses the first (0) command line entry, which is the binary location. This results in an error message in the ZoneBuilder console, which can (and has) lead to confusion when trying to resolve different issues.
image

The first argument should be skipped or the error otherwise be silenced.
From what I can tell it uses GetCommandLineA which returns the arguments as a string. Possibly CommandLineToArgW could be used to parse it and skip the first argument, as theres some special cases to handle when parsing the command line.

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

No branches or pull requests

1 participant