Discussion:
[Larceny-users] Developing Windows GUI Programs
Steve Graham
2011-04-04 15:19:43 UTC
Permalink
I am interested in developing Windows GUI programs with typical elements such as drop down lists, radio buttons, text areas and text fields.  Is that possible with Larceny?  Are there any tips on how to proceed?
Thanks, Steve
David Rush
2011-05-25 12:52:33 UTC
Permalink
Post by Steve Graham
I am interested in developing Windows GUI programs with typical elements
such as drop down lists, radio buttons, text areas and text fields. Is that
possible with Larceny? Are there any tips on how to proceed?
Working with Common Larceny and the C#/.Net infrastructure is the most
straightforward way to go. Larceny has to provide the driving framework as
access to Larceny data structures from within the .NET world is difficult
(although the conjugate is pretty straightforward)..

You could also develop in native mode, but that is a little tricky too
because you can really only use _cdecl function pointers if you want to call
back into Larceny. This is only a minor problem if you are willing to write
trampolines for all of the WINAPI call-backs needed for a Windows app.

HTH

- d
GPG Public key at http://cyber-rush.org/drr/gpg-public-key.txt
Steve Graham
2011-05-25 12:59:44 UTC
Permalink
Thanks, David.  Steve

--- On Wed, 5/25/11, David Rush <***@gmail.com> wrote:

From: David Rush <***@gmail.com>
Subject: Re: [Larceny-users] Developing Windows GUI Programs
To: "Steve Graham" <***@yahoo.com>
Cc: "Larceny Scheme List" <larceny-***@lists.ccs.neu.edu>
Date: Wednesday, May 25, 2011, 8:52 AM

On 4 April 2011 16:19, Steve Graham <***@yahoo.com> wrote:


I am interested in developing Windows GUI programs with typical elements such as drop down lists, radio buttons, text areas and text fields.  Is that possible with Larceny?  Are there any tips on how to proceed?

Working with Common Larceny and the C#/.Net infrastructure is the most straightforward way to go. Larceny has to provide the driving framework as access to Larceny data structures from within the .NET world is difficult (although the conjugate is pretty straightforward)..

You could also develop in native mode, but that is a little tricky too because you can really only use _cdecl function pointers if you want to call back into Larceny. This is only a minor problem if you are willing to write trampolines for all of the WINAPI call-backs needed for a Windows app.

HTH
- dGPG Public key at http://cyber-rush.org/drr/gpg-public-key.txt
Loading...