NTNU-IHB/PythonFMU

Access violation for dlls loaded in constructor

markaren opened this issue · 0 comments

Issue encountered with orcaflex:
If orcaflex is instantiated in the constructor, subsequent dll calls will fail with "Access violation" type error.
If orcaflex is instantiated during e.g. exit_initialilzation_mode, no error will occur.

It's unclear if this happens due to how pythonfmu handles thread state.