[rdnzl-devel] .NET Picture Viewer in RDNZL
Edi Weitz
edi at agharta.de
Tue Apr 17 11:29:34 UTC 2012
Ron, thanks for the info and the link. Good to hear that RDNZL is
useful to you. I'm afraid that due to my new job I'm not able to work
on RDNZL anymore and in fact there weren't any significant updates in
eons because I never used it in earnest. I'm rather surprised that it
still works at all after all the .NET updates that came after I
initially wrote it. Maybe it'd be a good idea if someone else took
over maintenance of RDNZL like Hans did for Hunchentoot and other libs
of mine.
Cheers,
Edi.
On Sun, Apr 15, 2012 at 10:18 PM, Ron Parker <rdparker at gmail.com> wrote:
> I've posted a RDNZL port of the .NET Picture Viewer tutorial on
> github, https://github.com/rdparker/cl-picture-viewer. This was mostly
> a learning experience for me but I thought it might come in handy for
> others. It's neither great Lisp nor highly informed .NET code, but it
> is a complete application.
>
> Basically I worked through the C# demo, then peered into the code and
> hand translated it to what is in the repo. But now I have an idea of
> how to approach creating a .NET interface for a personal research
> project.
>
> In the course of writing this a couple questions arose.
>
> 1. Is there anyway to call BeginInit on a PictureBox without resorting to C++?
>
> Attempting [BeginInit (cast picture-box "ISupportInitialize")] results
> in a cast error similar to the IConvertible message referred to in
> http://lists.common-lisp.net/pipermail/rdnzl-devel/2007-April/000390.html.
>
> 2. Is it possible to override random method in .NET object via RDNZL?
>
> As an example in the C# code there is an implementation of Dispose,
> which I was uncertain if I needed to or how to duplicate it:
>
> protected override void Dispose(bool disposing)
> {
> if (disposing && (components != null))
> {
> components.Dispose();
> }
> base.Dispose(disposing);
> }
>
> Edi thank you for writing RDNZL. It has already saved me a lot of
> time. I'd looked into the managed-unmanaged C++ interop bits of .NET
> and was not looking forward to writing it all myself.
>
> Thanks,
>
> Ron Parker
>
> _______________________________________________
> rdnzl-devel mailing list
> rdnzl-devel at common-lisp.net
> http://lists.common-lisp.net/cgi-bin/mailman/listinfo/rdnzl-devel
>
More information about the rdnzl-devel
mailing list