What version of Perl are you using? Threading support is dodgy is most versions...If you are not on 5.8.2, it may be worth upgrading to that version. I'm not sure if 5.8.3 is available as a binary yet, but that version is meant to be better for threading.
You will also need to check what Perl version perl2exe is using. If your problem is only with the exe, then upgrade perl2exe.
----- Original Message -----
From: ramy@mehtag.com
To: Steve Pick ; perl-win32-gui-users@lists.sourceforge.net
Sent: Sunday, January 25, 2004 2:53 AM
Subject: Re: [perl-win32-gui-users] Win32::FileOp Erro with Win32::GUI

SOme complete test code below.
Please try to compile it with perl2exe to produce the error
twice, the first time without modifications, then uncomment the
line use Win32::API
I also produced the error when using the line threads->tojoin