[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re[2]: [ANNOUNCE] Lua 5.0 (pre-release) now available
- From: Ron <lua@...>
- Date: Wed, 2 Apr 2003 11:07:44 -0800
Wednesday, April 2, 2003, 10:47:01 AM, you 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.
Yes that is right.
> 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.
This is the way I solved it for my windows program, so I can confirm
this works.
- Ron