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

Supported Nim Version #61

Open
watson0x90 opened this issue Sep 16, 2023 · 0 comments
Open

Supported Nim Version #61

watson0x90 opened this issue Sep 16, 2023 · 0 comments

Comments

@watson0x90
Copy link

I made the mistake of updating to Nim 2.0. I could compile DLLs, but no exported functions were found when trying to call exported functions with rundll32.exe. When reviewing exported functions with dumpbin, I could see DllMain, but it was not being called. Why? Didn't have the time to look into it. Returning to Nim 1.6.14, everything is working.

Wanted to give a heads up if anyone runs into a similar issue. To install a specific version of nim, you can do the following.

  1. Download choosenim from https://github.com/dom96/choosenim/releases
    • Choose release for your OS
  2. Run the following command to install the latest release prior to 2.0. Change the command to match your download.
    • ./choosenim-0.8.4_linux_amd64 1.6.14
  3. Rejoice, for now all is happy with the world.
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