[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua in DLL
- From: Jamie Webb <j@...>
- Date: Wed, 24 Dec 2003 10:58:16 +0000
On Wednesday 24 December 2003 00:33, Eric Tetz wrote:
> --- Tham <tham@gamebrains.com> wrote:
> > i;m using vc71...
> >
> > i'm interested with automation.. :)
>
> Well, if you define LUA_API=__declspec(dllexport) when you build
> the DLL, all the appropriate functions will be exported and VC will
> create an import library that you can link to any app that uses the DLL.
IIRC though, you should be aware that the DLL will not be quite conventional
if you compile as C++ using this method: the DLL will use the mangled names,
which are a nuisance from e.g. VB.
-- Jamie Webb