[mythtv] Windows packaging

Andrei Tanas andrei at tanas.ca
Fri Mar 7 03:01:33 UTC 2008


<47D0A434.9050202 at dload.com.au> <b75f78d70803061844n3f9ca14fqbaaadfad4e4e54e0 at mail.gmail.com>
Message-ID: <63d577369f210d032df5197f100d4961 at localhost>
X-Sender: andrei at tanas.ca
Received: from 192.168.1.115 [192.168.1.115] via vhost.unchanged.net
	[206.248.136.31] with HTTP/1.0 (POST); Thu, 06 Mar 2008 22:01:33
	-0500
User-Agent: RoundCube Webmail/0.1b
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit

On Thu, 6 Mar 2008 20:44:50 -0600, "Robert Johnston" <anaerin at gmail.com>
wrote:
> On Thu, Mar 6, 2008 at 8:11 PM, Dean Harding <dean.harding at dload.com.au>
> wrote:
>> Nigel Pearson wrote:
>>  > Note that none of these will actually help in the
>>  > initial DLL loading though. And that is the big
>>  > problem for moveable binaries, as I see it.
>>
>>  I don't know if this has been discussed already, but you could possibly
>>  mark all of the DLLs as delay-loaded, then mythfrontend.exe (or
>>  whatever) could modify it's own PATH environment variable to point to
>>  the correct location for the DLLs, before calling any methods in
>>  libmyth*.dll.
> 
> Of course, there's always the point that Windows programs check their
> own folder for DLLs before checking system paths and the like.
> Therefore having all the *.dlls in the same folder as the .exe will
> mean Myth should load them all automagically.

Exactly, this is a standard and recommended approach (for Windows) anyway.
And it works just fine for Myth.



More information about the mythtv-dev mailing list