[python-win32] Still looking for a method to get CPUID info ...

Gertjan Klein gklein at xs4all.nl
Wed Jan 6 12:33:32 CET 2010


Tim Roberts wrote:

>In my opinion, you could have solved this all much quicker and easier
>just by writing a trivial DLL.

Out of pure curiousity (I used to write a lot of assembler, but those
days are long gone) I tried your code, and it works as advertised -- on
Python 2.6. It fails on Python 2.5 with "WindowsError: exception code
0x20800", but oddly I've also seen error code 0x1020800. I couldn't find
much about either of these errors on the Internet. Any idea what could
be wrong? I know Python 2.5 and 2.6 use different C runtimes, but the
created DLL is completely independent.

Gertjan.




More information about the python-win32 mailing list