[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua in DLL
- From: Wim Couwenberg <debosberg@...>
- Date: Wed, 24 Dec 2003 05:13:19 -0800 (PST)
> 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/