Enhance SAM with features tailored to your specific needs! We collaborate with companies, universities, and organizations to privately fund new capabilities or analyses. Your investment drives innovation while benefiting the broader energy community. Email us to learn more.

ssc32.dll

  • mark.norman
  • Topic Author
More
04 Aug 2020 03:35 #8518 by mark.norman
ssc32.dll was created by mark.norman
Hi, Paul and everyone else at NREL SAM
I hope you are all safe from COVID 19. Here in Perth, Western Australia we are very lucky, as we only have a handful of active
cases.
 
I now have a running 64 bit C# (visual studio) application that is accessing the SSC APIs. :-)
 
I used the code generator to get started: 
 - It output these dll’s:
  • ssc.dll
  • ssc64.dll.
 - It had these 2 imports in the example C# language wrapper
  • [DllImport("[b]ssc32.dll[/b]",CallingConvention = CallingConvention.Cdecl, EntryPoint ="ssc_version")]
  • [DllImport("[b]ssc64.dll[/b]",CallingConvention = CallingConvention.Cdecl, EntryPoint ="ssc_version")]
 
I want to have both 64- and 32-bit installation options. When I compile for 32 bit, the example program looks for “ssc32.dll”,
however I do not have it.
 
Is the ssc.dll file the 32-bit version, and I should just update ssc32.dll the import statements to this name?
 
Thanks Mark

Please Log in or Create an account to join the conversation.

  • Paul Gilman
More
06 Aug 2020 16:05 #8529 by Paul Gilman
Replied by Paul Gilman on topic ssc32.dll
Hi Norman,

We discontinued support for a Windows 32-bit version of SAM and SSC as
of 2020.2.29. It took some effort to manage dependencies for both
versions, and given Microsoft's waning support for 32-bit versions of
the latest Windows products, we decided to only support 64-bit SSC.

Best regards,
Paul.

Please Log in or Create an account to join the conversation.

Moderators: Paul Gilman
Powered by Kunena Forum