-
looks good, thanks!
2010-01-02 02:10:56 UTC by mhammond
-
If you create a service that accepts power events (by overriding GetAcceptedControls), the service will crash in dispatchServiceCtrl() when any power event other than PBT_POWERSETTINGCHANGE occurs.
The problem is that the code assumes eventData for a SERVICE_CONTROL_POWEREVENT is always a pointer to a POWERBROADCAST_SETTING structure, however that is only the case when dwEventType is...
2009-12-31 11:25:47 UTC by rolyapples
-
This is implemented and working, will submit patch.
2009-12-30 03:36:15 UTC by bbondy
-
mhammond added bbondy to the Python for Windows extensions project.
2009-12-30 00:24:48 UTC by mhammond
-
When using Python 3.0 or 3.1 (and the corresponding Pywin32 package) programs can't initialize the scripting engine properly. When using SetScriptSite, they get E_FAIL (80040005) thus preventing initalization. Using pywin32 with the 2.x tree works fine.
2009-12-24 07:47:31 UTC by happyhondje
-
Yeah I found that out myself after like one hour of code-sifting. Thanks :)
2009-12-24 07:43:52 UTC by happyhondje
-
A work around may be to use an elevated command prompt (ie, started with "Run as Administrator") and executing pyscript.py there. If that fails too, I suspect it will be a general problem with Python 3.x - trying Python 2.6 should also work.
2009-12-24 05:30:40 UTC by mhammond
-
Using Windows 7 Ultimate, I am having trouble installing active scripting for Python 3.1. I'm talking about the following installers:
python-3.1.1.msi
pywin32-214.win32-py3.1.exe
On WXP, it would usually install active scripting fine from the get-go, but I knew from experience that failed sometimes, which it did now. So I went to C:\Python31\Lib\site-packages\win32comext\axscript\client...
2009-12-24 05:24:22 UTC by happyhondje
-
I am not sure if this is necessarily a bug - it feels like it to me, but either way it would be helpful if the documentation at least mentioned it.
If you call win32api.DuplicateHandle and specify the target process NOT to be the current process, the handle you get back will be ref counted etc. and when it goes out of scope CloseHandle will be called on it, but of course the handle in...
2009-12-21 10:12:52 UTC by rockthesmurf
-
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
2009-12-19 02:20:20 UTC by sf-robot