What's the purpose of the lua "stub" dll for windows.

Posted by Roddy on Stack Overflow See other posts from Stack Overflow or by Roddy
Published on 2010-05-03T22:55:04Z Indexed on 2010/05/03 22:58 UTC
Read the original article Hit count: 294

Filed under:
|
|

I'm looking at incorporating Lua into a C++ project, and am a bit confused by the presence of the two binaries (lua51.dll and lua5.1.dll) in the distribution from Luabinaries.

According to the docs...

In Windows your library or application must be linked with a stub library. A stub library is a library with only the function declarations that will bind your DLL with the Lua DLL.

Why? I've never needed stub DLLs before when linking with third-party DLLs?

© Stack Overflow or respective owner

Related posts about lua

Related posts about Windows