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

Niall Douglas s_sourceforge at nedprod.com
Thu Jul 29 12:52:52 CEST 2010


Wouldn't using an embedded manifest to specify a non-default DLL 
location be much easier?

Niall

On 29 Jul 2010 at 11:26, David Aldrich wrote:

> Hi
> 
> I am working on a Windows application that uses boost_python, linked with shared libraries.
> 
> I need to store the boost_python dll in a folder other than one in the usual search path (exe folder, System32, search path).  I propose to do this by 'delay loading' the boost_python dll and calling SetDllDirectory() from the application.
> 
> So far I haven't got this to work. I have read that some DLLs can't be loaded in this way. Does anyone have experience of delay loading boost_python?
> 
> Best regards
> 
> David
> _______________________________________________
> Cplusplus-sig mailing list
> Cplusplus-sig at python.org
> http://mail.python.org/mailman/listinfo/cplusplus-sig


-- 
Technology & Consulting Services - ned Productions Limited.
http://www.nedproductions.biz/. VAT reg: IE 9708311Q. Company no: 
472909.





More information about the Cplusplus-sig mailing list