- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Calling openmodelica from C#
Calling openmodelica from C#
Re: Calling openmodelica from C#
Yes, it should be possible to do. Look into the C++ sources on how to start OMC in server mode. Use whatever C# CORBA implementation you fancy and things should work rather smoothly.
- sjoelund.se
- 1700 Posts
Re: Calling openmodelica from C#
Client-Server is faster if you need a state in the session. It is also a bit faster since you do not need to load the standard library over and over. Using command-line invocation you can read script results from file, and it should be possible to parse the output.
- sjoelund.se
- 1700 Posts
Re: Calling openmodelica from C#
Thank you for your answer ! It helps me a lot .
Now I can solve the problem by the command-line Invakation.
About the Client-Server , where can I find the C++ sources on how to start OMC in server mode and about the C# CORBA implementation .
Looking forward to your answer ! Thanks.
Re: Calling openmodelica from C#
- sjoelund.se
- 1700 Posts
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Calling openmodelica from C#