in reply to Re^9: ActiveState PerlApp + Gtk and themes
in thread ActiveState PerlApp + Gtk and themes

I haven’t encountered the packed script itself yet, only the supporting libs and the bound files, during runtime. Nowhere inside %TEMP%, not in a recognisable format anyway.

But what we need is not the script but the bound files, well, in that case I have some bad news (I think). Way before I installed the strace implementation or Process Explorer, I tried to figure out what was in view for the script, and did a system("dir"); — I got the files from the directory where I had started the EXE from and not where the unpacked script mysteriously and temporarily lives. And the bound files are nowhere to be seen there unfortunately (I haven’t re-checked, but I think I would have noticed if there had been .dll files where normally there isn’t a single one), only in the previously discussed PID-labeled directory in %TEMP%. So I’m afraid I’ll need that absolute path.

Replies are listed 'Best First'.
Re^11: ActiveState PerlApp + Gtk and themes
by Marshall (Canon) on Jan 30, 2012 at 05:43 UTC
    The "bound files" should be relative path to the .exe, ie. ./ (current directory that the .exe is running within). The OS will unpack the Perl .exe into some directory somewhere - what the full path name is, we don't know and should not care.