|
|
||
|
Roberto Ierusalimschy wrote:
In Windows, blocks created by a dll cannot be free in a different dll (is that right?), even if both dlls contain exactly the same code.
So, to avoid problems in Windows, the "correct" way to use loaded objects is to make Lua itself a dll loaded by the main program, so that the main program, Lua, and any extra module all share a single copy of Lua.
-jcw