DelayLoad python15.dll (NT)

Joel Lucsy jjlucsy at
Mon Mar 20 19:54:29 CET 2000

You also need #pragma comment(lib,"delayimp.lib")

"Boris Ottlewski" <Boris.Ottlewski at> wrote in message
news:38d5f2dd$0$29750 at
> Hello,
> I want to delayload the python DLL (because I need to unload the dll at
> point). This is how it works:
> #pragma comment(linker, "/DELAYLOAD:python15.dll")
> But somehow I did not manage to make it work. (Some functions cant be used
> when delayloading the dll (imported defs) and 2. switch was ignored
> no functions of python15.dll were used - which is definielty wrong) Did
> somebody succeed to delayload the python dll itself? A code snipet is
> greatly appreciated.
> Bye,
> Boris Ottlewski

More information about the Python-list mailing list