Information générale
Catégorie:
Fonctions Windows API
Hi all..
I need some help here.. I'm trying to use MoveFileEx out of the win32 api to update dlls on NT/Win2k machines. I use the wininit.ini with the 9x boxes..
The thing is.. Right now, I can't get it to work right..
I'm calling MoveFileEx with the MOVEFILE_DELAY_UNTIL_REBOOT and MOVEFILE_REPLACE_EXISTING flags.. basically what I do.. is take the new dll I want to copy over the old one, and copy it to a temp dir on the users hard drive.. Then I call MoveFileEx to copy the one in the temp dir over the system dll. This has worked before. MovefileEx always returns true, and it adds the appropriate registry entries..
But it does not copy over the old file.
So I'm doing this from CFP 6 sp4 and trying to get it to work on win2k (server or professional) SP1.
Anyone run into this?
I've scoured MSDN and the MS Knowledge base, to no avail.
Also I'm using Installshield to install the app as well.. It does about the same thing as my app does.. Both the app and installer need to do this due to network users..
HELP!!!
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement