[rdnzl-devel] Make calls in the reverse direction (.NET -> CL)

Joerthan Panest joerthan.panest at gmail.com
Sat Apr 24 14:45:38 UTC 2010


I've been trying to figure out a way to make this sort of approach work.

On Thu, Apr 22, 2010 at 3:18 PM, Raymond Wiker <rwiker at gmail.com> wrote:

> Alternatively, it might be possible to (ab)use the delegate support in
> RDNZL to get what you need - simply define the delegate signatures you
> require in an interface class on the C# side, then use RDNZL to create an
> interface object and attach lisp closures (I do something like this to
> implement LISP callbacks for a somewhat misdesigned .NET library).


Ok, I create a shared .NET DLL that defines the interface and all needed
classes. I can deliver a "C DLL" with LispWorks that is able to instantiate
the types and interface as well as register callbacks with these types that
it has instantiated.

The fundamental issue that I cannot work around here is that there is no
clear way to pass along the previously instantiated from the .NET
application through to any functions exposed by the Lisp DLL.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/rdnzl-devel/attachments/20100424/4b802c6c/attachment.html>


More information about the rdnzl-devel mailing list