Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best way to check file
Message
De
11/06/2002 02:50:40
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
10/06/2002 20:55:43
Jordan Pastourel
Worksafe Management Systems
Toowong, Australie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00666753
Message ID:
00666816
Vues:
16
>Hi all,
>i have to check before i run an encrypted compiled program file that it is indeed the one that is supposed to be there. what is the best way to approach this?
>My initial thoughts were to open the file for reading at a low level and compare the characters with ones stored elsewhere. however, i noticed a problem arise when i compared two encrypted files from the same .prg file. they were different.
>what is a better way to do this?
>thanks
>Jordan

Jordan,
If they were different and you had no coding error then they're different. You might also use :

? FileToStr(lcFile1) == FileToStr(lcFile2)
or
? FileToStr(lcFile1) == lcStored
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform