473,499 Members | 1,886 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

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_devic emodeA@@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

Jul 18 '05 #1
1 1782
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

"Marco Aschwanden" <PP**********@spammotel.com> wrote in message
news:ma***************************************@pyt hon.org...
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_devic emodeA@@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



----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= East/West-Coast Server Farms - Total Privacy via Encryption =---
Jul 18 '05 #2

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

Similar topics

3
3617
by: Robert Tarantino | last post by:
Hello, I am trying to find a way to create a scheduled task or service that will copy my local profile folders under "Documents and settings" to a network drive. This would allow me to restore...
2
5767
by: giloosh99 | last post by:
Hello, Im grabbing tables via VB code using visual foxpro ODBC drives. The tables directory is in a mapped network drive. The code works fine and does the job, however if the computer is idle for...
5
21536
by: Niloday | last post by:
Hi All, I am trying to access a mapped network drive from a service that I have created. The service needs to create/delete folders/files on a network drive. When I tried to connect to a...
8
11830
by: Lam | last post by:
HI anyone knows how can I open a mapped network file in C#? I try string file = @"T:\file.txt"; it shows me the error: "Could not find a part of the path" but if I copy the file to my C dirve,...
5
4444
by: Nirosh | last post by:
Hi All, Can any one suggest me a best way to do this .. I have a thrid party tool "EXE" that we need to use with our web service to manipulate some complex XML files, which reside in a...
2
2657
by: .Net Believer | last post by:
I using the routine below to copy file to a network drive for a regular backup process. Before calling this routine I using another function to check the presence of the LAN connection and the...
10
5738
by: mukeshhtrivedi | last post by:
Hi, I have some MDB (MS Access 2000) files on our server. It is small application created by one of our employee long time ago. I see this application is on Network Drive G: and H: (both drive has...
10
10972
by: =?Utf-8?B?Z3JlYXRiYXJyaWVyODY=?= | last post by:
Sorry about that previous one. I pressed enter too early. How does one go about mapping a network drive in C#. i know you use MapNetworkDrive in scripting languages, but i'm not sure how to do it...
5
3555
by: Phil | last post by:
A file used by my application may be stored on a shared network drive, so that it can be accessed by different people using the same application. I have written some code that uses an...
0
7131
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7007
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
7174
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
7220
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...
1
6894
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5470
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4919
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
1427
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
665
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.