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

version 3.6.5.3 won't open on non-US system #169

Open
Zethoun opened this issue Aug 30, 2023 · 1 comment
Open

version 3.6.5.3 won't open on non-US system #169

Zethoun opened this issue Aug 30, 2023 · 1 comment

Comments

@Zethoun
Copy link

Zethoun commented Aug 30, 2023

Describe the bug
the app will crash on launch if your system doesn't use the dot "." as decimal symbol

To Reproduce
Steps to reproduce the behavior:

  1. set your decimal separator to comma in regional parameters
  2. launch Mids
  3. See error "Input string was not in correct format" then the app exit when you click OK
  4. 1 or 2 process will still be shown in the task manager (but the app is not running)

Expected behavior

  • the app should be able to launch on any regional settings
  • in case of crash, every process should be terminated

Screenshots
image
image

Desktop (please complete the following information):

  • OS: Windows 11
  • Application Version 3.6.5.3
@Zethoun
Copy link
Author

Zethoun commented Aug 30, 2023

for the parsing error, you need to add "CultureInfo.InvariantCulture" as second parameter for every float.parse call

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