[Haskell-beginners] FFI - how to handle when external dll crashes
Miro Karpis
miroslav.karpis at gmail.com
Sun Sep 22 22:59:39 CEST 2013
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20130922/af414bde/attachment.htm>
More information about the Beginners
mailing list