Jorgen Bodde wrote: > Hi Guys, > > I want to make a C++ DLL that spawns a thread, and wrap this with > Python so that a thread still runs inside the DLL, but I can access > methods to communicate with it, and preferrably receive callbacks from > it. > > I searched the net for examples explaining concepts like this, but I > am lost. Is this possible or is it that trivial that nobody seems to > explain it?
These might help: http://effbot.org/pyfaq/how-do-i-interface-to-c-objects-from-python.htm http://effbot.org/pyfaq/writing-c-is-hard-are-there-any-alternatives.htm Kent _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor