DelayLoad python15.dll (NT)

Joel Lucsy jjlucsy at concentric.net
Mon Mar 20 13:54:29 EST 2000


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

"Boris Ottlewski" <Boris.Ottlewski at NOSPAMsystemsoft.de> wrote in message
news:38d5f2dd$0$29750 at businessnews.de.uu.net...
> Hello,
>
> I want to delayload the python DLL (because I need to unload the dll at
some
> 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
because
> 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