Tim Roberts wrote: >Very interesting. I tried this on Python 2.5.2 on my Windows 7 64 >system (using 32-bit Python). The C version works fine, but the >assembler version gets a "DLL initialization error". I fixed that by >adding "mov eax, 1" to the "start" routine. See if that helps your issue.
It doesn't, I get the same error (either 0x1020800 or 0x20800, the former the most often, which makes me wonder if the error contains bit flags). Interestingly, if I place a ret after the mov eax, [style] instruction, or even comment out the cpuid instruction, I don't get an exception. This makes me wonder whether there is something permission-related that is different between Python 2.5 and 2.6 -- perhaps the 2.5 executable is not allowed to execute that instruction? Gertjan. _______________________________________________ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32