Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Best way to check file
Message
From
11/06/2002 02:50:40
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
10/06/2002 20:55:43
Jordan Pastourel
Worksafe Management Systems
Toowong, Australia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00666753
Message ID:
00666816
Views:
15
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform