FFI - how to handle when external dll crashes
23 Sep
2013
23 Sep
'13
4:59 a.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.
4442
Age (days ago)
4442
Last active (days ago)
0 comments
1 participants
participants (1)
-
Miro Karpis