[Haskell-cafe] Initializing dynamic libraries

Alexey Shmalko rasen.dubi at gmail.com
Mon Apr 6 02:03:19 UTC 2015


I don't quite understand what's going on, but answering your question...
Yes, depending on the operating system there are mechanisms to have
initialization function in dynamic libraries. Search for "dynamic library
init function" or something like that.

Best regards,

On Sun, Apr 5, 2015 at 11:14 PM, Henk-Jan van Tuyl <hjgtuyl at chello.nl>

> L.S.,
> I am using C++ dynamic libraries via a dynamic library written in C. The
> first thing my Haskell software does, is calling a C function to initiate
> the C++ libraries; but the C++ libraries generate warnings about not being
> able to set certain things, before the Haskell program initializes
> everything. Is there some automatic call to the dynamic libraries done,
> before execution of the main function in the Haskell program?
> Regards,
> Henk-Jan van Tuyl
> --
> Folding at home
> What if you could share your unused computer power to help find a cure? In
> just 5 minutes you can join the world's biggest networked computer and get
> us closer sooner. Watch the video.
> http://folding.stanford.edu/
> http://Van.Tuyl.eu/
> http://members.chello.nl/hjgtuyl/tourdemonad.html
> Haskell programming
> --
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20150406/2084f333/attachment.html>

More information about the Haskell-Cafe mailing list