Further testing reveals this to [apparently] be a problem in 64-bit Reaper, or 64-bit Perl.
I've tried both ActiveState and Strawberry Perl, and with 32-bit Reaper, the 32-bit Strawberry Perl seems to work correctly. But nothing I try in 64-bit Reaper (either 32-bit Perl or either 64-bit Perl) works at all.
My test script simply prints its passed environment to a log file and doesn't even call a Reaper function. It either never gets executed, or is executed but hangs before it does anything, as no log file is created.
Here's the test script code:
my $mlog = "c:\\incoming\\APITest.log";
open(J, ">$mlog") || die "$0: $mlog: $!\n";
foreach( keys %ENV ) {
print (J "$_= $ENV{$_}\n");
}
exit 0;
RPR_APITest();
According to the command history in Reaper, subsequent runs of the test script don't show in it, just the first one.
So is it Reaper 64-bit or Perl that is broken, anyone know?
--Bill
|