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 have a running 64 bit C# (visual studio) application that is accessing the PVWatts7 API.I used the code generator to get started: It output these dll’s:
It had these 2 imports within the example C# language wrapper:
- [DllImport("[b]ssc32.dll[/b]", CallingConvention = CallingConvention.Cdecl, EntryPoint = "ssc_version")]
- [DllImport("ssc64.dll", 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 the 32-bit version, and I should just update the import statements to this name or rename the file?Thanks Mark