I tried your version, and it does work running just the perl on Windows 7 with Strawberry Perl
This is perl 5, version 24, subversion 0 (v5.24.0) built for MSWin32-x64-multi-thread
Running with pp also works to create the exe file
pp -x ThreadTest2.pl -o ThreadTest2.exe
But when running the created executable, it gets the same popup error as my version.
ThreadTest2.exe has stopped working
I've been told by other co-workers that this "behavior" is also seen with pp on ActiveState perl and with Perl2Exe compiler, though I haven't tested those. Still scratching my head.
In reply to Re^2: Compiling with pp on Strawberry Perl on Windows with threads fails
by rminsko
in thread Compiling with pp on Strawberry Perl on Windows with threads fails
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |