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

added extended msg for failed library loads w/ incorrect DLL formats #13950

Merged
merged 7 commits into from
Apr 16, 2020

Conversation

awr1
Copy link
Contributor

@awr1 awr1 commented Apr 10, 2020

Common issue that I've seen in the Nim IRC is the could not load: error with DLLs with the wrong architecture, hopefully this pushes people in the right direction.

@awr1
Copy link
Contributor Author

awr1 commented Apr 11, 2020

Message box works:
image

@Varriount
Copy link
Contributor

Hm, keep in mind that (as paradoxical as it may seem) there are circumstances where "GUI" applications can't/shouldn't create windows. The most common situation is when an application is running as a Windows service (Linux daemon equivalent).

@ghost
Copy link

ghost commented Apr 16, 2020

@Varriount but the code only shows MessageBox with "when defined(guiapp):", otherwise it's just "cstderr.rawWrite(badExe)"

@awr1
Copy link
Contributor Author

awr1 commented Apr 16, 2020

Hm, keep in mind that (as paradoxical as it may seem) there are circumstances where "GUI" applications can't/shouldn't create windows. The most common situation is when an application is running as a Windows service (Linux daemon equivalent).

The message boxes on fatal crashes aren't new and only show up with --app:gui for Windows

@Araq Araq merged commit b6f9940 into nim-lang:devel Apr 16, 2020
@a-mr a-mr mentioned this pull request Oct 17, 2020
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.

3 participants