COM on a network drive can't find pywintypes23.dll

M

Marco Aschwanden

Hi

I have installed Python (2.3.4) on a shared network drive. I use it to run
a bunch of application on the workstations (Win2K).

Now I am running into the first problem ever. I try to use COM to generate
a word-file. It runs fine on my machine (Python installed locally). When I
deploy it and start the app on another workstation from the fileserver -
it runs but as soon as it comes to the COM part it exits saying:

The procedure entry point
?PyWinObject_AsDEVMODE@@YAHPAU_object@@PAPAU_devicemodeA@@H@Z could not be
located in the dynamic link library pywintypes23.dll


Heck... I copied the files:

pythoncom23.dll
pywintypes23.dll

to about "1000" locations to make it run (Application's dir, Workstation's
System Dirs, Fileserver's Python main and bin dir, ...). I tried setting
the path on the workstations. But nothing seems to solve the problem.

Do you have any proposals how to solve this problem?

Thanks in advance,

Marco
 
R

Roger Upole

This means the machine is finding an older verion
of pywintypes23.dll first, rather than not finding it at all.
You may have an old version hanging around in the
\system32 directory on that machine. (or anywhere else
that it would be found first). You might also want to
verify that the dll's you're copying around both come
from the same distribution.

Roger
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,065
Latest member
OrderGreenAcreCBD

Latest Threads

Top