>-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 loc
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
>-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 wind
>-Original Message-
>From: [EMAIL PROTECTED] [mailto:python-win32-
>I have no idea what you are asking.
I want to run a Python shell from a DllMain() function.
This is what I came up with so far:
BOOL APIENTRY DllMain(HANDLE hModule,DWORD ul_reason_for_call,LPVOID
lpReserved)
{
//
mani sabri wrote:
> Hi
> It's my first email in this list.
> After googleing for a day about redirecting python stdout/stdin/stderr.I
> found out that for a win32 application or a dllmain that does not naturally
> has a console I can AllocConsole() for them and blah blah blah! well anybody
> knows
Hi
It's my first email in this list.
After googleing for a day about redirecting python stdout/stdin/stderr.I
found out that for a win32 application or a dllmain that does not naturally
has a console I can AllocConsole() for them and blah blah blah! well anybody
knows how that story ended? Or is i