[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Load python from different plugin dlls


> which needs also access to python3.dll but cannot load it itself as it has
> been already loaded by plugin1
> Is such a scenario actually possible?


Normally a DLL can be loaded in as many processes (and threads thereof) as 
you like.

However, it is possible that the DLLs initialisation contains code to check 
if something it needs is available*, and if not directly exit.

*like if it can access certain I/O - if the first DLL instance "takes 
posession" the second DLL instance wil fail.  Than again, this can also 
happen when using two totally different plugin DLLs.

Yes, but not likely.