[Oz] Win32 and DLLs

Andrew Sadler ajs2 at doc.ic.ac.uk
Wed May 5 15:06:13 CEST 1999


I'm trying to write a native functor to provide access to pre-compiled
library which expects a DLL to have been initialised before any
functions are called.

After much trial I succesfully managed to link my C++ wrapper to the
static library, but Oz is unable to link the native functor, and I think
it's because I've not initialised the DLL.

The DLL in this case is the Cygwin DLL which I decided to use to improve
the portability of my code.  Can anybody tell me how I can initialise
this DLL.

NOTE: My code works fine under Linux, but I need to have this native
functoron Win32 aswell.
-
Please send submissions to users at mozart-oz.org
and administriva mail to users-request at mozart-oz.org.
The Mozart Oz web site is at http://www.mozart-oz.org/.





More information about the mozart-users mailing list