Mecway 24 Solver Gives DLL Error

just installed Mecway 24 on a new Windows 11 platform and got a DLL error (see below snapshot) right after launching the solver. The error message The gmsh-3.0.2-Windows64 folder was also downloaded and placed in the Mecway folder under Program Files directory. Can someone please help me with this issue.

Thanks in advance

Comments

  • Sorry guys. For some reason I can not load my image properly. I’m posting my discussion on a new laptop and installs.
  • Sorry for the trouble. Some ideas:

    Does this happen with any model, such as the included samples?

    Confirm mecwayd.dll isn't corrupt by checking its digital signature. Right click the file, Properties, Digital Signatures, Details. It should say "This digital signature is OK".

    It could also be a dependency of that that's not right. Perhaps re-install Mecway.

    Perhaps see if older version work which might give a clue about the cause:
    https://mecway.com/download/mecway230.msi
    https://mecway.com/download/oldversions/mecway210.msi

    Having gmsh in there shouldn't be a problem, especially if it's all in a subdirectory.
  • Hi Victor,
    This error happens with every model including samples.
    The Mecway’s.dll does not say the signature is ok or not ok
    Uninstall and reinstall did not solve the problem
    I’m get the same error with other versions as well

    Would the latest version of gmsh resolve the problem?

    Thanks again
  • A newer Gmsh won't help because the solver doesn't touch it or need it. I wouldn't be modifying anything in Mecway's Program Files folder though. It might interfere with uninstalling or something else.

    I'm concerned about the digital signature. If mecway240.msi, mecway.exe and mecwayd.dll don't all have valid digital signatures signed by Mecway Limited in February 2024, then they're corrupt or the wrong version. Can you show me what the Properties dialog looks like when it's saying neither OK nor not OK?

    I seem to remember someone else having this problem and may have been caused by the file being missing an old version in its place.
  • Victor,
    Thanks for the support. My new laptop crashed on me this evening and I may or may not be able to send you the properties dialog snapshot. 😢
  • Victor,
    I fresh installed Mecway230 on a new laptop and got the same "Mecwayd.dll" error after launching Mecway. Attached are snapshots of the DLL property as requested:


  • Thanks hooshsim.

    When you say "after launching Mecway", do you mean it showed the error even before solving anything, or in the solver as before?

    I forgot to say you need to click on the signature in the list that says "Mecway Limited" then the Details button (not tab). Here's what it looks like if it's corrupt:


    Here are some other things that I hope you don't mind doing to try to isolate the problem:

    1) Check the signature of mecway23\libiomp5md.dll. It should be signed by Intel Corporation on 19 November 2022.

    2) Check the file size of mecway23\arpack_win64.dll. It should be 1,279,209 bytes

    3) Open dlltest1.liml, use Solution -> Interpolate and select displacement magnitude. It should show 1E-06 m or equivalent in other units.

    4) Solve dlltest1.liml. The solution should have a maximum displacement of 1E-06 m.

    5) Solve dlltest2.liml. Mode 2 should be 55.13 Hz.

    Sorry it's quite a lot and I still have no idea what it might be. Items 1) and 2) are the direct dependencies of mecwayd.dll and 3) , 4), and 5) test 3 other functions in it.
  • Hi Victor,

    Here are my findings to your list of suggestions:

    My bad, the error is displayed when I start solving, not launching mecway.

    Digital Signature Info for the mecwayd.dll is ok (see attached)

    1. Digital Signature for the libiomp5md.dll is signed by intel (see attached)

    2. Size of arpack_win64.dll is 1250 KB not 1,279,209 bytes

    3. Displacement magnitude using Solution Interpolate is 0. not 1.E-6 for dlltest1.liml (got the same error when I solve)

    4, There is no solution in dlltest2.liml. The size after download is 1 KB (got the same error when I solve, this time in red window)

    Appreciate your support. Let me know if you need additional info.

  • Thanks. It looks like the files are OK and various functions from mecwayd.dll with different dependencies are all broken. I'll need some time to work out what to do next. Sorry for the delays.

    In the meantime, if you're keen enough, I wonder if you could try version 1.1 https://mecway.com/download/oldversions/mecway11.msi . If that works fine, you could narrow down when the breaking change occurred by trying the other versions. They all have the same URL format, just the numbers 20 for 2.0, 30 for 3.0, etc..
  • Thanks Victor,

    I downloaded and installed Mecway11. It required .NET Framework which I download from Microsoft.

    To active Mecway11to run full version, I get the following message once I enter the product key. Any thoughts why I am getting this error message?



  • The product keys were for individual versions then. I'll generate them for you and send by email later today. But it's not needed to try solving one of the sample problems to see if it crashes.
  • Thanks for the Mecway 1.1 product key.

    Both dlltest1 & dlltest2 models ran successfully with version 1.1.

    I also ran one of my older models (created in Mecway18). The solver finished successfully without any issues but the natural frequencies were zeros (received version compatibility warning when reading in the model file).

    Hope this helps.


  • Cool. That's at least puts some bound on what the problem might be. I know this is a lot of work, but it would be a help if you can try the intermediate versions to identify when it stopped working.

    Regarding 0 frequencies, there have been a lot of file format changes since then so constraints might have been lost.
  • I wasn’t able to download any of the intermediate versions of mecwayxx.msi except version 20 (Error 404-Not Found). I ran ddtest1, ddtest2, and my model with v20 and got identical results as with version 11. I used the same link you provided few days ago. Only replaced 11 with 12, 13, etc.

    Why did I get compatibility warning when I ran V20 with model being created in V18?

    Thanks again
  • Just realized I have been missing version’s third digit when downloading. I’m downloading versions 150, 180, and 200. I will update you with the runs
  • Victor,

    Downloaded several versions of mecway and ran them all. It seems like Version18 and older are working fine with the exception of compatibility warning. Versions 19 and newer give me the “mecwayd.dll” error.

    Thanks
  • edited March 15
    Thanks hooshsim, that's helpful. I have a guess what it might be. Would you be able to:

    1) Download this replacement mecwayd.dll https://mecway.com/download/v24/mecwayd.dll
    2) Copy it into Mecway24's (not any other version) installation folder, overwriting the existing one
    3) Open Mecway and solve something

    If it still doesn't work, confirm it's signature is valid and was signed today (March 2024).

    If it does work, that's enough and I'll include the changes in future versions.
  • Hi Victor,

    I just re-downloaded versions 18, 20, and 24 and ran them all. Surprisingly, they worked just fine w/o any messages. The corresponding DLL files has OK digital signatures dated back in couple of years ago not 2024. Therefore, there was no need for me to download replacement DLL file.

    Now, I’m wondering if the problem was corrected due to updating downloaded versions or it’s my system being unstable and causing these issues. Please confirm.

    Thanks again. I will follow up on this post with you if I run into similar issues.

    Appreciate great support.
  • Oh. I have no idea doing the other installs fixed it or some other effect. But it works so great!
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!