Federico,

Unicon provides the dynamic code loading facilities found in Icon,
i.e. loadfunc().  If you need this capability on UNIX, you should be ready
to go on almost all major platforms.  In general you build a shared library
that includes C code "stubs" that interface between Icon and the library
functions you want to get at.  There is some description of the facilities
in Icon Project Document 278, but more can be learned by examination of code
examples the IPL subdirectory: ipl/cfuncs.

The Unicon CVS sources include minor modifications to loadfunc() that
support loading Win32 .dll's with the same API as in UNIX.
The Windows version of loadfunc() has been tested only on trivial
examples (like bitcount() for example) so far.  If you need this
capability on Windows I can help you set it up; it is not in
the regular distribution files yet.

Clint [EMAIL PROTECTED]

_______________________________________________
Unicon-group mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unicon-group

Reply via email to