- Posts: 12
System.DllNotFoundException: Unable to load DLL 'ssc.dll'
- Asif K
- Topic Author
Less
More
17 Jul 2025 00:57 #14159
by Asif K
System.DllNotFoundException: Unable to load DLL 'ssc.dll' was created by Asif K
The subject problem has wasted my five days and had no choice to contact here. I have tried every possible option and searched from internet but it fails.
QUESTION #1
1) I am using c# and Visual Studio
2) I have developed an app using NREAL SAM module wherein ssc.cs and dll are used.
3) cs and dll are generated from software NREL SAM (ver 2025.4.16).
4) In Visual Studio, Target Paltform is 'Any CPU' (though I have tried x86 also separatley but it does not work as I know current ssc.dll is only for 64 bit system)
4) My app works fine on two laptops having Windows 10 and Windows 11 updated to latest build. However, on another laptop having Windows 10 updated to latest build, I get the subject error. It cannot load or find the ssc.dll and gives the error. Error details are attached in the file
QUESTION #2
NREAL SAM software (ver 2025.4.1) also generated a header i.e. sscapi.h and a json file. Is it required in incase of c# (C sharp) ?
QUESTION #1
1) I am using c# and Visual Studio
2) I have developed an app using NREAL SAM module wherein ssc.cs and dll are used.
3) cs and dll are generated from software NREL SAM (ver 2025.4.16).
4) In Visual Studio, Target Paltform is 'Any CPU' (though I have tried x86 also separatley but it does not work as I know current ssc.dll is only for 64 bit system)
4) My app works fine on two laptops having Windows 10 and Windows 11 updated to latest build. However, on another laptop having Windows 10 updated to latest build, I get the subject error. It cannot load or find the ssc.dll and gives the error. Error details are attached in the file
QUESTION #2
NREAL SAM software (ver 2025.4.1) also generated a header i.e. sscapi.h and a json file. Is it required in incase of c# (C sharp) ?
Attachments:
Please Log in or Create an account to join the conversation.
- Paul Gilman
Less
More
- Posts: 5594
17 Jul 2025 09:33 #14160
by Paul Gilman
Replied by Paul Gilman on topic System.DllNotFoundException: Unable to load DLL 'ssc.dll'
Hi Asif,
1. Version 32 of SSC is 64-bit. From the information in the Word document you shared, it appears you are trying to run it on a 32-bit version of Windows 10. SSC will only run on 64-bit versions of Windows.
2. The sscapi.h header file is not required to run SSC from C#. SAM's code generator creates the header file for your reference. The JSON files created by the code generator contain lists of inputs and their values for the case from which you generated the code. These files are not required if you are using a different method in your code to assign values to inputs.
Best regards,
Paul.
1. Version 32 of SSC is 64-bit. From the information in the Word document you shared, it appears you are trying to run it on a 32-bit version of Windows 10. SSC will only run on 64-bit versions of Windows.
2. The sscapi.h header file is not required to run SSC from C#. SAM's code generator creates the header file for your reference. The JSON files created by the code generator contain lists of inputs and their values for the case from which you generated the code. These files are not required if you are using a different method in your code to assign values to inputs.
Best regards,
Paul.
Please Log in or Create an account to join the conversation.
Moderators: Paul Gilman