Re: replacing a running program
- From: "black ares" <matematicianu2003@xxxxxxxxxxx>
- To: <programmingblind@xxxxxxxxxxxxx>
- Date: Sat, 23 Feb 2008 19:05:38 +0200
Instead making a windows program with all code in it,
you can make a dll with the program
and a simple executable which calls this program.
In this situation I think you can replace the dlls and next time the exe is
executed it will load the new program.
Try this...
----- Original Message -----
From: "Octavian Rasnita" <orasnita@xxxxxxxxx>
To: <programmingblind@xxxxxxxxxxxxx>
Sent: Saturday, February 23, 2008 4:44 PM
Subject: replacing a running program
Hi,
I've made a program for Windows and I want to add a function that
downloads a newer version of this program if available, but I want it to
replace the current version with the newer one.
I know that under Windows if the program is running, I cannot delete it in
order to replace with the newer version.
I want it to act something like the extraordinary program UTorrent even
though my program is not made using the same language.
Do you have any idea how to do that, without creating a second program
that does the download and replacement?
Thank you.
Octavian
__________
View the list's information and change your settings at
http://www.freelists.org/list/programmingblind
__________
View the list's information and change your settings at
http://www.freelists.org/list/programmingblind
- Follow-Ups:
- Re: replacing a running program
- From: Octavian Rasnita
- References:
- replacing a running program
- From: Octavian Rasnita
Other related posts:
- » replacing a running program
- » RE: replacing a running program
- » Re: replacing a running program
- » Re: replacing a running program
- » Re: replacing a running program
- » RE: replacing a running program
- » RE: replacing a running program
- » Re: replacing a running program
- » Re: replacing a running program
Hi,I've made a program for Windows and I want to add a function that downloads a newer version of this program if available, but I want it to replace the current version with the newer one. I know that under Windows if the program is running, I cannot delete it in order to replace with the newer version.
I want it to act something like the extraordinary program UTorrent even though my program is not made using the same language.
Do you have any idea how to do that, without creating a second program that does the download and replacement?
Thank you. Octavian __________View the list's information and change your settings at http://www.freelists.org/list/programmingblind
- Re: replacing a running program
- From: Octavian Rasnita
- replacing a running program
- From: Octavian Rasnita