On 6 Jan 2004 at 19:44, Alan Stewart wrote: > Seems to be a Tk problem only. This small program has the same problem with the > second > copy trying to run: > > use Tk; > my $mw = MainWindow->new(); > MainLoop; > > The cache directory does contain Event.dll, but it doesn't seem to find it/load it, > so > it goes looking for the .al file. >
Something seems awry in sub _dl_extract in Heavy.pm. I assume that line 127 is where you are trying to re-use already extracted files after the first run. A couple observations, but no answers. After the first copy of the above program runs, there are two exact copies of Event.dll in the cache, one with a temp file name (228643d2.dll) and one with the real name (Event.dll). Both have a size of 49244 bytes, but the par file reports an uncompressed size 49243 bytes and that is the size I get if I unzip manually with unzip.exe. The ones extracted by Par have an extra byte (hex 30) at the end. This doesn't look like a Tk only problem after all. Has anyone else tried to have two copies of a non-Tk program that uses dll's running at once without clean? Alan Stewart
