[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Writing extensions which interact (is not fun)
- From: steve donovan <steve.j.donovan@...>
- Date: Mon, 6 Aug 2012 12:08:56 +0200
On Mon, Aug 6, 2012 at 11:49 AM, Jerome Vuarand
<jerome.vuarand@gmail.com> wrote:
> Just to clear some common misconception, this is possible on Windows.
> An EXE can expose symbols (other than main/WinMain), and other modules
> (DLLs or other EXEs) can link against it.
Yes, one can recompile common Lua extensions to be useable for SciTE
scripting, for instance, by linking against the exported Lua symbols
from SciTE. But (as Jerome points out) such extensions are then quite
specific to SciTE. So in LfW we linked SciTE dynamically against
lua5.1.dll.
On Linux, extensions are more promiscuous - they'll pick up their
symbols where they can find them ;)
steve d.