Well I fixed it by changing the type of `fmi2CallbackFunctions` into `ref 
object` instead of `object` and then using directly `fmi2CallbackFunctions` 
instead of `ptr fmi2CallbackFunctions` in the function call.

Reply via email to