[Haskell-cafe] Initializing dynamic libraries
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.
On Sun, Apr 5, 2015 at 11:14 PM, Henk-Jan van Tuyl <hjgtuyl at chello.nl>
> 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?
> 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.
> Haskell programming
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe