Debian Codegraph @

contrib/win32/README

raw
1 In this directory you will find an interesting example of an application built
2 using ECL's implementation of the UFFI specification.
3
4 This example consists on several files:
5
6 * win32.lisp: This is a lisp interface to the Microsoft Windows API
7 for the graphical user interface. It is not finished but it suffices
8 to demonstrate the most important ingredients you will need in a
9 real-world application.
10
11 * txtedit.lisp: A simple text editor written using the previous library.
12 This text editor can make use of Scintilla component to provides syntax
13 highlightning (http://www.scintilla.org). To enable it, simply copy the
14 SciLexer.dll library in this directory (or where the system can find it).
15 If the component is not present, a simple editor will be used instead.
16
17 * lisp-kw.lisp: A file containing LISP keywords, used for syntax
18 highlightning with the Scintilla component.
19
20 This example makes use of static or dynamic FFI/callbacks. When win32.lisp
21 is compiled into a FAS file, the static FFI/callbacks will be used. Otherwise,
22 dynamic ones will be used (only under supported architectures).
23
24 To compile the Win32 library (not required under architectures where
25 dynamic FFI/callbacks are supported), use:
26
27 (compile-file "win32.lisp")
28
29 To start the editor, use:
30
31 (load "txtedit")
32 (win32::edit)
33
34 This library has been contributed by Michael Goffioul (michael dot goffioul at
35 swing dot be). Feel free to experiment with it and share your experience at
36 the ECL mailing list.
37