in reply to why Crashing windows API using perl??
Have you tried using the DLL from some other language to see if the problem exists there?
/J\