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 that

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,

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

2008-03-10 Thread 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 that is held while DllMain is called, and it can prevent you from loading other DLLs. You might try spinning off a