Re: [C++-sig] Can boost_python dll be delay loaded?

2010-07-30 Thread David Aldrich
Hi Niall > > > Wouldn't using an embedded manifest to specify a non-default DLL > location be much easier? Thanks for your reply. I have now succeeded in creating a manifest file for an assembly that includes the boost_python dll's. But I don't understand how to specify a non-default location f

Re: [C++-sig] Can boost_python dll be delay loaded?

2010-07-30 Thread Niall Douglas
On 30 Jul 2010 at 8:22, David Aldrich wrote: > Thanks for your reply. I have now succeeded in creating a manifest file > for an assembly that includes the boost_python dll's. But I don't > understand how to specify a non-default location for the assembly using > that manifest. I believe this is do

Re: [C++-sig] Can boost_python dll be delay loaded?

2010-07-30 Thread David Aldrich
Hi Niall > I thought that the application installer registered the DLL manifests > at their locations? It's like registering COM or .NET objects, in > fact I think it's the same mechanism nowadays. Well, I don't plan to use an application installer. Most of our users build and run the applicatio

Re: [C++-sig] Can boost_python dll be delay loaded?

2010-07-30 Thread Niall Douglas
On 30 Jul 2010 at 10:56, David Aldrich wrote: > > I thought that the application installer registered the DLL manifests > > at their locations? It's like registering COM or .NET objects, in > > fact I think it's the same mechanism nowadays. > > Well, I don't plan to use an application installer.

Re: [C++-sig] Can boost_python dll be delay loaded?

2010-07-30 Thread David Aldrich
Hi Niall Thanks again for your answers and help. Best regards David > -Original Message- > From: cplusplus-sig-bounces+david.aldrich=eu.nec@python.org > [mailto:cplusplus-sig-bounces+david.aldrich=eu.nec@python.org] On > Behalf Of Niall Douglas > Sent: 30 July 2010 16:48 > To: D

Re: [C++-sig] Can boost_python dll be delay loaded?

2010-07-30 Thread Ralf W. Grosse-Kunstleve
> Your best bet it would seem now is to have PATH > modified on app install, but that is a very lazy way out and is > indeed banned in lots of corporate environments. I solved this problem via a small launcher executable. It is just like a small .bat file which sets PATH and PYTHONPATH before la

Re: [C++-sig] Can boost_python dll be delay loaded?

2010-07-30 Thread Niall Douglas
On 30 Jul 2010 at 11:38, Ralf W. Grosse-Kunstleve wrote: > > Your best bet it would seem now is to have PATH > > modified on app install, but that is a very lazy way out and is > > indeed banned in lots of corporate environments. > > I solved this problem via a small launcher executable. It is j