473,387 Members | 1,611 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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

Jul 18 '05 #1
2 1684
"Paul Mayal" <ma***@tiscali.be> writes:
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.


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

Thomas
Jul 18 '05 #2
bap
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" <th*****@python.net> wrote in message
news:ma*************************************@pytho n.org...
"Paul Mayal" <ma***@tiscali.be> writes:
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.


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

Thomas

Jul 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Giles Brown | last post by:
I'm feeling quite dumb this morning. I'm trying to build a COM server DLL using py2exe and it ain't working. Here's what ain't working... setup_dll.py based on py2exe sample: """from...
20
by: Thomas Heller | last post by:
I'm currently working on a new version of py2exe, which will require Python 2.3 and later, because it uses the zipimport mechanism. Since py2exe is a distutils extension, and since C compilers...
2
by: Achim Domma | last post by:
Hi, I managed to build a simple com server with py2exe. My script only imports codecs and re, but the dist folder contains tcl84.dll, tk84.dll and win32ui.pyd. Can somebody tell me why? And how...
6
by: Luc Saffre | last post by:
Hello, I had a strange problem when freezing (using either py2exe or McMillan installer) a script that imports reportlab (which imports PIL (which imports FixTk))). - Python 2.3.3c (also with...
4
by: Otto Krüse | last post by:
Hello, I've made a small GUI program that connects with a MySQL database to collect information which is put on the screen. The database and the program are used for testing purposes so I...
3
by: Werner Merkl | last post by:
Hi, Python is really great, for small to big programs. For my colleagues and some circumstances I sometimes need to "compile" a script using py2exe. Cause I use Windows, I like to use the...
2
by: codecraig | last post by:
Hi, I tried to take the Monkey Shell script (http://www.sharp-ideas.net/archives/2005/03/monkey_shell_us.html) and make it into an executable. I am making an executable for the server piece...
4
by: D | last post by:
I have a simple client/server file server app that I would like to convert to a single .exe. The client is just uses Tkinter and displays a simple GUI. The server has no GUI and just listens for...
3
by: Martin Evans | last post by:
I have converted a Python script using py2exe and have it set to not bundle or compress. The result is my exe and all the support files including library.zip (exactly as planned - nice job py2exe)....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.