A simple solution would be to stop running Boris.exe directly, and
create a script to run Boris.exe. When Boris.exe finishes get the
script to copy the new files, if they exist. For example:
Begin
run boris.exe
if exists( pending/boris.exe ) then
copy( pending/boris.exe, boris.exe )
end
if exists( pending/boris1.dll ) then
...
end
...
end
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
> Behalf Of Boris Liberman
> Sent: 11 September 2008 10:08
> To: Pentax-Discuss Mail List
> Subject: OT: PC (Windows) question
>
> Hi!
>
> I think it is time I asked my own Windoze question after quite so
many
> threads by various authors ;-).
>
> Here is the deal. Suppose I wrote a piece of software that consists
of
> an executable and several DLLs. All of them are eventually loaded to
> the PC memory during program execution. The program execution can
last
> for the very long time, though there're going to be short periods
when
> the program is not running. Suppose now, that while it was running,
I
> have compiled a new version of my program that I want to upload (or
> update) to the location from which it is running. Obviously I cannot
> just copy the files, as Windows will tell me that currently these
> files are in use. Now, here is the question. Is there a program that
> allows me to queue my copy operation(s) so that the same moment the
> files stop being in use, the new version will be copied on top of
them
> automatically, without my (human) intervention?
>
> Any pointers, inputs, etc will be appreciated. Please don't limit
> yourself to a freeware - I need any kind of solution.
>
> Thanks.
>
> --
> Boris
>
> --
> PDML Pentax-Discuss Mail List
> [email protected]
> http://pdml.net/mailman/listinfo/pdml_pdml.net
> to UNSUBSCRIBE from the PDML, please visit the link directly
> above and follow the directions.
>
>
--
PDML Pentax-Discuss Mail List
[email protected]
http://pdml.net/mailman/listinfo/pdml_pdml.net
to UNSUBSCRIBE from the PDML, please visit the link directly above and follow
the directions.