[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: RE: dynamic loading of windows dll's in lua as plugins?
- From: "Samson, Lyndon (GEIS)" <Lyndon.Samson@...>
- Date: Mon, 17 May 1999 09:28:38 +0100
I have something like this, I can send you the code if you like, it's
probably about 80% done, it might point you in the right direction anyway!
> -----Original Message-----
> From: Jeroen Janssen [SMTP:firstname.lastname@example.org]
> Sent: Monday, May 17, 1999 8:12 AM
> To: Multiple recipients of list
> Subject: dynamic loading of windows dll's in lua as plugins?
> I'm working on using lua for a demosystem and I was thinking about a
> pluginsystem using dll's (windows platform) to add lua functions.
> Basicly what I am thinking about is to have LoadLibrary (windows function
> to runtime load a dll) accessable from lua and have a DllMain in such a
> that makes new C functions available in lua. Thus you can write the
> following script:
> functionFromPlugin2("This is a plugin example!");
> Is there anybody that has already written something like this for windows?
> is it available from anywhere?
> Thanks in advance,
> Jeroen Janssen