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

2011-04-13 Thread Amaury Forgeot d'Arc
Hi 2011/4/14 Mark Hammond : > 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. With the old SWIG-1.1, the format cha

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

2011-04-13 Thread Mark Hammond
On 13/04/2011 2:14 AM, Chris Frantz wrote: 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,