Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to know if one EXE is valid or was modified?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00771406
Message ID:
00771413
Vues:
16
You could use the file date to check whether it is a new version.
In this case you need to store exe file information somewhere in the maintenance table at the moment when you create it.
Then you will be able to compare dates programmatically.

>Hi,
>
>I have 2 files (EXE) in my application:
>MAIN.EXE: This file is the same for all customers and never is updated.
>CUSTOM.EXE: Each customer have a CUSTOM.EXE that is different the others customers.
>
>So, my problem is: How could I know if the CUSTOM.EXE is the valid? I mean, I want to check if other developer replace MY CUSTOM.EXE for other VFP EXE and have access to my database...
>
>The EXEs should talk, then I'd have something like that:
>MAIN.EXE talks: "Hey CUSTOM.EXE... Are you really?"
>CUSTOM.EXE talks: "Yes MAIN.EXE! I'm the correct file."
>
>This way, if other person change the MAIN.EXE:
>MAIN.EXE talks: "Hey CUSTOM.EXE... Are you really?"
>CUSTOM.EXE talks: "What??? ... ... ??? Yes, I'm!"
>
>and then I know that CUSTOM.EXE is not MY CUSTOM.EXE ....
>
>:-) Some ideas? :-)
>
>TIA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform