Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

How to use the OpenStudio API?

I tried to use OpenStudio by the OpenStudio.dll in VisualStudio 2013. Therefore I install Openstudio 1.8.0 with success and open Alpha1 Example in VisualStudio. Then I copy all .dlls from the OpenStudio Directory to the /bin/debug/x86 Folder and renew the OpenStudio.dll in the Project. Now, I try to start the Example and get an error: It appears that there was an error accessing the C# SWIG Bindings for OpenStudio. Error Text: HRESULT 0x8007000B

I installed SWIG already, but I don´t know, if it´s okay, because I have a 64 Win and it exist only SWIG for 32 Win. But I execute the swig.exe. What can I do to start the Programm and to use the OpenStudio API?

Thanks a lot!!!

How to use the OpenStudio API?

I tried to use OpenStudio by the OpenStudio.dll in VisualStudio 2013. Therefore I install Openstudio 1.8.0 with success and open Alpha1 Example in VisualStudio. Then I copy all .dlls from the OpenStudio Directory to the /bin/debug/x86 Folder and renew the OpenStudio.dll in the Project. Now, I try to start the Example and get an error: It appears that there was an error accessing the C# SWIG Bindings for OpenStudio. Error Text: HRESULT 0x8007000B

I installed SWIG already, but I don´t know, if it´s okay, because I have a 64 Win and it exist only SWIG for 32 Win. But I execute the swig.exe. What can I do to start the Programm and to use the OpenStudio API?

Thanks a lot!!!