calldll windll instantiation

Gordon McMillan gmcm at hypernet.com
Mon Apr 19 23:57:28 EDT 1999


Karl & Mel ask:

> Need some help.
> I think?(scarry moment)? that I need to create more that one
> instance of a dll.
> 
> 1. Can this be done?

Nope. Perhaps if you made a second copy (of the dll file) and gave it 
a different name. Or perhaps the dll uses thread local storage, and 
if you attach from different threads it will act like each thread has 
its own copy. But I doubt it.

Different processes will get different copies, so maybe you could use 
IPC between 2 python scripts...


- Gordon




More information about the Python-list mailing list