🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

DLL Block error : File not found *.dll...

User: "Yongjun"
Altair Community Member
Updated by Yongjun

When the inverter circuit using the DLL block is simulated, an error occurs with the message below.
"File not found."
<File Name>.dll

There seems to be no problem with the file name or path setting.

There is no problem in PSIM legacy version, 9.14, But latest version 2023 had a problem.
Visual Studio was installed in the same version, but an error occurred.

I want to know what the cause is.

Find more posts tagged with

Sort by:
1 - 3 of 31
    User: "Albert_Dunford"
    Altair Employee
    Updated by Albert_Dunford

    PSIM 9.14 is likely 32-bit, and PSIM 2023 is 64-bit. You will likely need to recompile the .dll to be 64-bit compatible.

     

    User: "Rhonda_20369"
    New Altair Community Member
    Accepted Answer
    Updated by Rhonda_20369

    To use 32bit DLL in a 64bit PSIM version (PSIM2020 and newer), please use a "General DLL Block".

    If you have copied the old PSIM schematic from a different location, 

    1. Make sure the DLL file is copied to the new computer.

    2. Open the DLL block parameter dialog to make sure the DLL filename and path are correct. The old path could still be in the parameter dialog.

    3. In the parameter dialog, check the box "Load DLL in an external process (slower simulation".

     

    Sincerely,

    Rhonda

    User: "Yongjun"
    Altair Community Member
    OP
    Updated by Yongjun

    Okay, I`ll check and try what you told me.

    Best regards.