lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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