[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Standard calling convention on Windows?
- From: Shmuel Zeigerman <shmuz@...>
- Date: Mon, 27 Jul 2009 20:00:54 +0300
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:
luaopen_mylib = _luaopen_mylib