[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: deployment of app with lua51.dll
- From: "Wesley Smith" <wesley.hoke@...>
- Date: Tue, 29 Jan 2008 19:35:57 -0800
On Jan 29, 2008 7:29 PM, Fabio Mascarenhas <mascarenhas@acm.org> wrote:
> Just put it in the same path as your .exe and you will be ok.
True. It's kind of lame though to have everything flat in the dir
like that. Ideally I'd have
MyApp.exe
support/
lua51.dll
... (other dlls)
Is this possible through some kind of build/linking option or should I
just get over it?
best,
wes
>Another nifty
> thing is that %DLLFOLDER%\lua\?.lua will be in tour package.path (where
> DLLFOLDER is the folder where you put the Lua DLL), so you can stick your
> Lua modules there too and not worry about environment variables. There's a
> similar thing in cpath (%DLLFOLDER%\?.dll). The one thing Windows does right
> is that it lets programs know where they were loaded from...
>
> --
> Fabio Mascarenhas
>
>
>
> On Jan 30, 2008 12:59 AM, Wesley Smith <wesley.hoke@gmail.com> wrote:
> > Hi again list,
> > Yes, some more windows lua dll questions. I'm still getting to know
> > (grudgingly) how to manage dlls and my question now is about deploying
> > an app with lua. On OSX, as I mentioned in a previous post, I have my
> > application exporting the Lua symbols. This doesn't seem to be a wise
> > way to do it on windows, so I'm using a dll. My question is how does
> > one deploy a Windows app with the dll such that the app can find it?
> > Does it have to go in the system folders or can I somehow specify a
> > relative path to the app executable to load the dll from and have all
> > modules that were also linked to the dll look for it there as well?
> >
> > I guess to be succinct, what strategy are people using to distribute
> > Windows apps with Lua embedded?
> >
> > thanks in advance. best,
> > wes
> >
>
>