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:
- 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