FFI - how to handle when external dll crashes

22 Sep
2013
22 Sep
'13
8:59 p.m.
Haskellers, I have an external dll which in some particular cases crashes. Basically first I need to send to my dll with MethodA some parameters and then call MethodB to do some calculations on those parameters. If I didn't give enough parameters then MethodB will crash the whole dll. Is there a way to handle this? Unfortunately there are no exceptions thrown from the dll. In ghci I'm getting following message: ERROR in InitNumericalSystem::initializeSystem. JuncLabel. cheers, m.
4303
Age (days ago)
4303
Last active (days ago)
0 comments
1 participants
participants (1)
-
Miro Karpis