
Hello,
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,
Alexey
On Sun, Apr 5, 2015 at 11:14 PM, Henk-Jan van Tuyl
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@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@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe