RE: [PDK-Beta] PerlApp extract bound file problem
by Jan Dubois other posts by this author
Oct 12 2004 1:25PM messages near this date
view in the new Beta List Site
RE: [PDK-Beta] PerlApp extract bound file problem
|
RE: [PDK-Beta] PerlApp extract bound file problem
On Tue, 12 Oct 2004, Bullock, Howard A. wrote:
[...]
> My understanding is that without the -clean option is NOT used and the
> "extract" option is used on the "bind" line a directory (PDK-userID)
> should be created in the user's %temp% directory. In this directory
> the binary of "notepad.exe" should be extracted to this directory.
Only DLLs are extracted into the "shared" directory. Bound data files
(and all the Tk graphics images) are always extracted to a "private" temp
directory, regardless of the --clean option. And the private temp
directory should always be removed on process exit.
>
> When I inspect the directory (%temp%) this directory is not created
> and no extracted file exists.
As Michael Nacey already mentioned, the file is deleted when the process
exits. This is the documented behavior:
PerlApp::extract_bound_file(FILENAME)
Writes the content of a bound file to the filesystem. The file is
created in a temporary directory and is automatically deleted when the
application terminates.
...
You will have to use PerlApp::get_bound_file() and write it to disk yourself
if you want to write to a more permanent location.
All of this is unchanged from PDK 5.3.
Cheers,
-Jan
Thread:
Howard A. Bullock
Howard A. Bullock
Jan Dubois
Howard A. Bullock
Michael Nacey
Michael Nacey
|