In order to position the cursor in Windows' console
I've been doing this in newLisp:
(import "kernel32.DLL" "GetStdHandle")
(import "kernel32.DLL" "SetConsoleCursorPosition" )
(constant 'STD_OUTPUT_HANDLE 0xfff5)
(define (cons-output-handle)
(GetStdHandle STD_OUTPUT_HANDLE))
(define (set-
On Jul 7, 2006, at 6:16 PM, Chess Player wrote:
In order to position the cursor in Windows' console
I've been doing this in newLisp:
(import "kernel32.DLL" "GetStdHandle")
(import "kernel32.DLL" "SetConsoleCursorPosition" )
(constant 'STD_OUTPUT_HANDLE 0xfff5)
(define (cons-output-handle)
--- Kon Lovett <[EMAIL PROTECTED]> wrote:
> On Jul 7, 2006, at 6:16 PM, Chess Player wrote:
> > How would I call the DLL routine "SetConsoleCursorPosition"
> > in Chicken?
>
> AFAIK you can't. The entire Chicken interface to dynamic loading is
> oriented to loading Chicken libraries.
>
> FWIW
On Sun, 9 Jul 2006, Chess Player wrote:
--- Kon Lovett <[EMAIL PROTECTED]> wrote:
On Jul 7, 2006, at 6:16 PM, Chess Player wrote:
How would I call the DLL routine "SetConsoleCursorPosition"
in Chicken?
AFAIK you can't. The entire Chicken interface to dynamic loading is
oriented to loading
A win32 port of libffi seems to be available here:
http://svn.plt-scheme.org/plt/trunk/src/foreign/libffi_msvc/
It shouldn't be hard to port to chicken. Unless someone else
wants to give it a try, I can do so, but may need a short while.
cheers,
felix
On Jul 10, 2006, at 10:19 PM, felix winkelmann wrote:
A win32 port of libffi seems to be available here:
http://svn.plt-scheme.org/plt/trunk/src/foreign/libffi_msvc/
It shouldn't be hard to port to chicken. Unless someone else
wants to give it a try, I can do so, but may need a short while.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Jul 10, 2006, at 10:19 PM, felix winkelmann wrote:
A win32 port of libffi seems to be available here:
http://svn.plt-scheme.org/plt/trunk/src/foreign/libffi_msvc/
It shouldn't be hard to port to chicken. Unless someone else
wants to give it a t
On 7/12/06, Kon Lovett <[EMAIL PROTECTED]> wrote:
Actually Windows is already supported using a GNU derived compiler .
The PLT stuff was modified to allow compilation by Visual C (which I
don't have).
However the regular libffi distro compiles for me using MinGW. Now I
just need to hack the tes