#494 pythonwin keeps opening new processes (no dde on Win64)

Greg Hazel

Every time I run "pythonwin foo", PythonWin opens a new process and a new window. Previously it would open "foo" in any existing process, MDI style.

I'm not sure what the culprit is, since I just installed PythonWin build 214. I also just started running Windows 7 64bit (I was previously on 32bit).


  • Mark Hammond

    Mark Hammond - 2010-07-13

    This is because the DDE module hjasn't been ported to the 64bit world. It may be fixed in the future (probably by re-implementing the functionality using something other than DDE), but I really wouldn't hold my breath for me to get a round tuit for this specific problem...

  • Roger Upole

    Roger Upole - 2010-07-13

    The dde module will build for amd64 using a modified project file, but I haven't tried to integrate the necessary changes into the setup script yet.

  • Greg Hazel

    Greg Hazel - 2010-07-19
    • summary: pythonwin keeps opening new preocesses --> pythonwin keeps opening new processes (no dde on Win64)
  • Greg Hazel

    Greg Hazel - 2010-07-19

    What modifications need to be made to the project file?

  • Greg Hazel

    Greg Hazel - 2010-07-19

    I got it to work! All I had to do was this:

    --- ..\pywin32.orig\setup.py 2010-07-19 16:22:14.034760000 -0700
    +++ setup.py 2010-07-19 16:31:44.885410800 -0700
    @@ -1837,7 +1837,7 @@
    WinExt_pythonwin("dde", pch_header="stdafxdde.h",
    depends=["win32/src/stddde.h", "pythonwin/ddemodule.h"],
    - platforms=['win32'],
    + platforms=['win32', 'win-amd64'],
    # win32ui is large, so we reserve more bytes than normal

  • Roger Upole

    Roger Upole - 2010-07-20

    Good catch, apparently it just needs to be reenabled for x64 builds. The only changes I had in the project file were some irrelevant linker options.

  • Mark Hammond

    Mark Hammond - 2010-08-30

    Cool - I reenabled it and it works for me too.

    Checking in setup.py;
    new revision: 1.112; previous revision: 1.111

  • Mark Hammond

    Mark Hammond - 2010-08-30
    • status: open --> closed-fixed

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks