Re: [python-win32] Issue with win32evtlog.ReportEvent

2011-04-14 Thread Chris Frantz
On Wed, Apr 13, 2011 at 11:55 PM, Mark Hammond wrote: > Yeah - this is a bug in the general DWORD handling in SWIG generated files. > I'm not sure how to tell SWIG to use a different format char, but I have > managed to work around it in other ways which is good for the general case. > > However,

[python-win32] Issue with win32evtlog.ReportEvent

2011-04-12 Thread Chris Frantz
Hello, I'm having a bit of trouble with ReportEvent: When I use a large value for eventID, I get an OverflowError. >>> import win32evtlogutil >>> win32evtlogutil.ReportEvent('FooBar', 0xc0004652) Traceback (most recent call last): File "", line 1, in File "c:\python26\lib\site-packages\win32