[python-win32] DDE advise

2008-10-03 Thread mani sabri
Hello everyone Does anybody know how to use a DDE server that implements Advise mechanism instead of Request? Best regards Mani ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

[python-win32] Memory leak when importing in embedded python

2008-08-20 Thread mani sabri
, Mani Sabri --- [1]-embedded python for(;;) { PyThreadState* pInterpreter= Py_NewInterpreter(); PyObject* a = PyImport_ImportModule(clientc); Py_EndInterpreter(pInterpreter

[python-win32] Embedding python in a win32 dll and a wx thread

2008-06-11 Thread mani sabri
Hello everyone It's a big post but I think it's an interesting problem and the result may become a good recipe for embedding python in many applications in windows. I'm on winxp sp2 using python 2.4 unicode, wxpython 2.8.7 unicode and vs2003... I'm embedding python in a non opensource

Re: [python-win32] embedding IPython in a windows dll

2008-03-11 Thread mani sabri
-Original Message- From: [EMAIL PROTECTED] [mailto:python-win32- [EMAIL PROTECTED] On Behalf Of Tim Roberts mani sabri wrote: I want to run a Python shell from a DllMain() function. It isn't safe to do this much processing in a DllMain. There is a thing called the loader lock

Re: [python-win32] embedding IPython in a windows dll

2008-03-10 Thread mani sabri
-Original Message- From: [EMAIL PROTECTED] [mailto:python-win32- [EMAIL PROTECTED] On Behalf Of Tim Roberts Are you trying to give access to a Python shell inside of another application? wxPython GUI framework includes several tools to do exactly that. They put up an editable window,