473,763 Members | 1,882 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

win32all problem with win32pdh.EnumOb jectItems under win2K

I understand that there was a problem with win32pdh.EnumOb jectItems under
Windows XP but that recent versions of win32all corrected the problem. I
installed win32all build 156 (Python 2.2.3) and EnumObjectItems does indeed
work fine under XP but build 156 does not appear to work under Windows 2000
(Service Pack 4). Below is the Traceback:
win32pdh.EnumOb jectItems(None, None,"Process", -1)


Traceback (most recent call last):
File "<interacti ve input>", line 1, in ?
error: (-1073738824, 'EnumObjectItem s for buffer size', 'No error message is
available')

Any advice would be appreciated.
Jul 18 '05 #1
0 1685

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

Similar topics

0
3030
by: gcash | last post by:
OK, I was writing code using WIN32ALL to do automation scripts for common things we do in IE a lot at work, since grunt-n-point gets very boring after a while. I snarfed the code from <http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&newwindow=1&safe=off&selm=mailman.1034878702.25947.python-list%40python.org> which was very useful. (Thanks, Dave!) Finally I get to a beta stage and give it to some of the guys in my group to...
0
1277
by: Brent Turner | last post by:
Under python 2.2 I was able to create a COM object in an exe much of the same way that I could from py source... meaning that I was able to register the com server and create an instance using the current process (exe/source) as the com server. Now, in python 2.3 when I try to create the COM instance from the exe, it starts up a new process and fails (b/c my exe does not support the command line parameters) The Source below is what...
5
2547
by: Reinhard Koenig | last post by:
Hello, I' m using Python 2.3, win32all-157 under W2K. I've applied the makepy utility for the Word 8.0 object library. I now receive: Python 2.3.1 (#47, Sep 23 2003, 23:47:32) on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import win32com.client >>> win32com.client.Dispatch("Word.Application")
0
1621
by: Mike Cannon | last post by:
I'm having a problem with the newer version of win32all and Python 2.3 with code that works fine on Python-2.2 (details below). Both machines are Windows XP. The code that breaks is derived from the venerable jet2sql.py cookbook example. I added a routine that uses the daoEngine collection "TableDefs" and indexes it with a string (the table name). That works on Py-2.2/win32all-148 but not with Py-2.3/win32all-159. Any help ?
0
1267
by: The Jetman | last post by:
Folks: Have seen this minor problem w/ WIN32ALL-157 thru 159. I install a fresh copy of Python 2.3. Then proceed to install WIN32ALL. It always crashes the 1st time thru w/ the following dump from FAULTLOG.TXT: ********************************************************************** Date 10/30/2003 Time 19:42 WIN32ALL-159 caused an invalid page fault in module MSVCRT.DLL at 016f:7800d269. Registers:
3
5724
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 (Windows) ability, to add some version infos, comments, etc to the exe file. If I use explorer to check, these properties are visible and correct.
0
1629
by: PiErre | last post by:
Hi All, I am trying to install win32 extension 162 on python 2.2.3 on a virtual (vmware) machine with win2k server sp3 (but I tested that the same happens on either win2k sp2 or win2ksp3 on a real biprocessor). I keep getting the drwatson error reported below during win32all 162 installation (during the compiling step, near the end of the progression bar - it can pass unnotice, but some symptoms are that you don't have a finish button -...
0
2745
by: David L. Jessup | last post by:
Hi there: I am trying to write a program to monitor certain processes on a Windows NT 4.0 box without me needing to be logged in. I have successfully created a python program that performs this task by running as a service on Windows 2000, but it fails on Win NT due to a missing procedure entry point "RegisterServiceCtrlHandlerExW" in ADVAPI32.dll; this problem appears to be due to the servicemanager module, and exists in all versions...
4
2102
by: Jack | last post by:
I searched around but could not find win32all source or binaries for earlier versions of Python. Don't ask me why but I have to use Python 1.5.2 in this project :) The sourceforget page only has latest versions. ActiveState does not even have 1.5.2 for download. Is it still available somewhere? Thanks!
0
10149
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9943
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9828
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8825
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7370
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6643
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5271
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3918
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 we have to send another system
2
3529
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.