lua-users home
lua-l archive

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


> 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.

Place #include <lua.h> in an extern "C" block, or
alternatively #define LUA_API extern "C"
__declspec(dllexport)

--
Wim


__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/