On Mon, Aug 1, 2011 at 6:04 AM, Ira Gray wrote:
> I come along, write a .DLL and throw it into the program. My .dll has its
> own thread (right?),
Not unless you actually create one. A DLL is simply a puddle of code;
the application calls your code, you do whatever you do, you return.
At no time
Lets say I have a program that is running a python interpreter in the main
thread.
I come along, write a .DLL and throw it into the program. My .dll has its
own thread (right?), separate from the main thread, and then makes a
pyrun_simplestring call to the pythonxx.dll. The pyrun_simplestring call