Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MoveFileEx & Win2k
Message
De
08/09/2000 11:34:48
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
MoveFileEx & Win2k
Divers
Thread ID:
00414172
Message ID:
00414172
Vues:
113
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
Fil
Voir

Click here to load this message in the networking platform