[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: Game oriented usage of Lua?
- From: Bret Mogilefsky <mogul@...>
- Date: Thu, 27 May 1999 18:42:44 -0700
> -----Original Message-----
> From: Dave Bollinger [mailto:DBollinger@compuserve.com]
> Sent: Thursday, May 27, 1999 6:08 PM
> To: Multiple recipients of list
> Subject: RE: Game oriented usage of Lua?
> Does it work having _both_ Lua and library extensions in
> DLL's? (not
> that I'm likely to do that, probably just Lua in DLL
> extensions static in
> host app, but I'm curious)
Yes, it works. I put Lua in a .DLL, then link my C++ Builder app (Borland's
C++-instead-of-OOPascal Delphi), which is contained in a .DLL, to the
linking lib. Then I link my main app (in MSVC) to the linking libs for both
of them. Voila! They all share the same process space so there's no danger
of two "instances" of Lua. You can even load up the tool .DLL explicitly
rather than linking to it... I did that with our tools so I could take them
out at ship time.
Bret