Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP CRC Function
Message
From
21/12/2012 17:58:27
 
 
To
21/12/2012 14:38:50
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01560390
Message ID:
01560438
Views:
57
Hi Jos,

So I'd venture to use a C-function and put in a dll and use that same beast in the other language ;-)
Hash or CRC should be found in C, which can be called almost anywhere.
Ed has MD5 - not sure if C source is included.
What is the other target ?

curious

thomas


>That's right Thomas :) I know how to use SYS(2007). I am thinking of trying to implement the function in another langauge if its not too much work.
>
>
>>Hmm,
>>
>>I thought Jos was after the code used to implement the vfp version OF sys(2007) to use perhaps in a another tier...
>>
>>Jooooos ?
>>
>>
>>
>>>ENTER IN THE COMMAND WINDOW
>>>HELP SYS(2007)
>>>
>>>I use it to compare 2 values to see if they no longer match. Such as when updating a remote MySQL database. No need to send the update over the wire if no changes where made. Note that I am leaving out the flags, etc here to simplify but you should get the idea.
>>>
>>>
nOrgCkVal =  SYS(2007,CustName)
>>>...user edits data here...
>>>before save
>>>if nOrgCkVal <> SYS(2007,CustName)
>>>  update the server cause the data has changed
>>>endif
>>>
Previous
Reply
Map
View

Click here to load this message in the networking platform