NTNU-IHB / FMI4cpp

FMI 2.0 implementation written in modern C++.
MIT License
96 stars 36 forks source link

Adding functions to access dll handle of fmu instances #116

Closed Kuhnovic closed 2 years ago

Kuhnovic commented 2 years ago

I ran into a situation where I needed to call a function that was not implemented according to the FMI standard, but was in the same DLL (a callback, something the FMI 2.0 standard does not support). This requires "raw" access to the underlying DLL or SO. I understand that this bypasses the FMI standard, but that's exactly the point: in the end an FMU is just a DLL, and the DLL can be more than just an FMU :)

markaren commented 2 years ago

I will get around looking into this eventually. Thanks for the PR

markaren commented 2 years ago

Thanks