lua-users home
lua-l archive

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

>   The subject is the error I am getting now.

It should be clear enough.
> link /DLL /OUT:socket.dll /base:0x67800000 /export:luaopen_socket_core mime.o *.obj msvcrt.lib lua5.2-static.lib Ws2_32.lib wsock32.lib
> link /DLL /OUT:mime.dll /base:0x67700000 /export:luaopen_mime_core mime.o msvcrt.lib lua5.2.lib

Do not link Lua into your DLLs. Keep just one copy of Lua in a separate DLL.