help: py2exe and com server

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Paul Mayal

    help: py2exe and com server

    Hi,

    I have written a com server in python 2.3 (ActiveState distribution). I have
    build the dll with py2exe.
    First of all, py2exe complain he can't find pythoncom module.
    I can register the dll with regsvr32 on my development workstation. But when
    I try to register the com dll on an another workstation, the registration
    fail.

    what am I missing ?

    Georges





  • Thomas Heller

    #2
    Re: help: py2exe and com server

    "Paul Mayal" <mayal@tiscali. be> writes:
    [color=blue]
    > Hi,
    >
    > I have written a com server in python 2.3 (ActiveState distribution). I have
    > build the dll with py2exe.
    > First of all, py2exe complain he can't find pythoncom module.
    > I can register the dll with regsvr32 on my development workstation. But when
    > I try to register the com dll on an another workstation, the registration
    > fail.[/color]

    I think you have to use a newer build of pywin32 (formerly called
    win32all) than that included with ActiveState python.

    Thomas


    Comment

    • bap

      #3
      Re: help: py2exe and com server

      I had the sample problem -- using the lastest version of pywin32 (version
      201 -- they've changed the numbering system) allows the com server to work
      fine

      Bruce Peterson
      "Thomas Heller" <theller@python .net> wrote in message
      news:mailman.14 .1082966096.257 42.python-list@python.org ...[color=blue]
      > "Paul Mayal" <mayal@tiscali. be> writes:
      >[color=green]
      > > Hi,
      > >
      > > I have written a com server in python 2.3 (ActiveState distribution). I[/color][/color]
      have[color=blue][color=green]
      > > build the dll with py2exe.
      > > First of all, py2exe complain he can't find pythoncom module.
      > > I can register the dll with regsvr32 on my development workstation. But[/color][/color]
      when[color=blue][color=green]
      > > I try to register the com dll on an another workstation, the[/color][/color]
      registration[color=blue][color=green]
      > > fail.[/color]
      >
      > I think you have to use a newer build of pywin32 (formerly called
      > win32all) than that included with ActiveState python.
      >
      > Thomas
      >
      >[/color]


      Comment

      Working...