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. _______________________________________________ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32