(Apologies if I did not submit this reply correctly)
I'm a certified neophyte where it comes to RDNZL and .NET generally, but to learn one "can't directly create new .NET classes from within RDNZL" kinda blows my hopes out of the water (I think).
My interest (similar to another poster here) is to utilize Common Lisp in a CAD application known as AutoCAD; which boasts API's for COM, .NET and ObjectARX (C++). I'd sooner chew my own arms off than code with C++ (or even C#) and hoped to find some way to take advantage of the .NET API directly using RDNZL. Sadly my knowledgebase is lacking, what with this talk of stubs and interop layers.
Driving AutoCAD using Lispworks COM is a breeze, however. I'd be glad to offer any support I can in understanding how AutoCAD thinks ... the RDNZL bridge still has me scratching my head. B^)
Brian C.
rdnzl-devel-request@common-lisp.net 9/14/2007 12:02 PM >>>
Send rdnzl-devel mailing list submissions to rdnzl-devel@common-lisp.net
To subscribe or unsubscribe via the World Wide Web, visit http://common-lisp.net/cgi-bin/mailman/listinfo/rdnzl-devel or, via email, send a message with subject or body 'help' to rdnzl-devel-request@common-lisp.net
You can reach the person managing the list at rdnzl-devel-owner@common-lisp.net
When replying, please edit your Subject line so it is more specific than "Re: Contents of rdnzl-devel digest..."
Today's Topics:
1. Re: in-process DLLs (Andrew Wolven)
----------------------------------------------------------------------
Message: 1 Date: Thu, 13 Sep 2007 09:59:43 -0700 (PDT) From: Andrew Wolven awolven@yahoo.com Subject: Re: [rdnzl-devel] in-process DLLs To: General interest list about RDNZL rdnzl-devel@common-lisp.net Message-ID: 541154.70024.qm@web62407.mail.re1.yahoo.com Content-Type: text/plain; charset=iso-8859-2
----- Original Message ---- From: Edi Weitz edi@agharta.de To: General interest list about RDNZL rdnzl-devel@common-lisp.net Sent: Thursday, September 13, 2007 3:25:58 AM Subject: Re: [rdnzl-devel] in-process DLLs
On Sun, 9 Sep 2007 20:47:05 -0700 (PDT), Andrew Wolven awolven@yahoo.com wrote:
Edi, do you have any suggestions for franti*ek?
Nothing more specific, unfortunately. As you'll know, you can't directly create new .NET classes from within RDNZL. You'll have to create a stub in C# or some other "native" language and then start from there.
Cheers, Edi.
_
I was just imagining a day ago or so that one could create COM server components in lisp and then use the MS tools to wrap it in an interop layer (a little fuzzy on this). Client code could be RDNZL of course.
-AKW ______________________________________________ rdnzl-devel mailing list rdnzl-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/rdnzl-devel
____________________________________________________________________________________ Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out. http://answers.yahoo.com/dir/?link=list&sid=396545433
------------------------------
_______________________________________________ rdnzl-devel mailing list rdnzl-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/rdnzl-devel
End of rdnzl-devel Digest, Vol 22, Issue 4 ******************************************
On Fri, 14 Sep 2007 12:20:01 -0400, "Brian Connoy" BConnoy@morrisonhershfield.com wrote:
(Apologies if I did not submit this reply correctly)
Nope, that was fine.
I'm a certified neophyte where it comes to RDNZL and .NET generally, but to learn one "can't directly create new .NET classes from within RDNZL" kinda blows my hopes out of the water (I think).
Well, it depends on what you want to do. RDNZL is technically a Lisp shim above (unmanaged) C++ code which can call into (managed) .NET code. If you look at the documentation, you will see that you can do about everything you'll want with /existing/ classes - create new objects, access their fields and properties, call their methods, you name it.
You could, using these tools, create /new/ classes at /runtime/ the same way you could do it in, say, C# (search Google), but obviously the result is not the same as a class defined at compile time by C# source code. To achieve this, you'd need to have (the RDNZL equivalent of) a DEFCLASS form which compiles to IL. This is not impossible, but it's probably a good amount of work and nobody has done it yet. Patches welcome, of course... :)
Edi.