lua-users home
lua-l archive

Re: Standard calling convention on Windows?

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


King, Mike wrote:
Both DLLs from LuaBinaries and Lua with Batteries export functions without the underscore prefix. When I build the DLL using C++Builder 2009, all of the exported functions have the underscore prefix. What am I missing?
With C++ Builder 5, in order to get rid of the underscore prefix, I add a .def file like that:
mylib.def:
EXPORTS
 luaopen_mylib = _luaopen_mylib
--
Shmuel

AltStyle によって変換されたページ (->オリジナル) /