Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
API error with VfpEncryption71.fll
Message
General information
Forum:
Visual FoxPro
Category:
Third party products
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01412793
Message ID:
01414121
Views:
92
Hi Craig

>Thank you for taking the time to send me the files via email. Please let me know whether using the replace statements I have provided in this post solve the problem for you. I believe they will. One final note is that your fields need only be 32 characters in length... 50 is 18 bytes more than are needed. If you wish to have the user be able to enter 50 characters then modify the fields to use 64 characters. The upshot of using a block size multiple for your character fields is that you can get rid of the LEFT() function from the replacement statements and simply encrypt/decrypt the fields giving you a performance boost.
>
>Let me know if there is anything else I can do to help or any other questions you have regarding the vfpencryption71.fll.

Thanks for going thru the code and giving me the fix. I have decided to use 64 as the field width just in case and have removed the Left() statements. So far in my testing there has been no recurrence of that error and I am sure it was caused earlier by my not understanding how the .FLL was to be used and so ALLTRIM was truncating the field and feeding in less than 32 chrs which caused the error.

I am still not really sure why and how this works but I will treat it like a "black box" and use it like that.

Cheers. I can now put that part of the project to bed and you have saved me much bother and time.

Thanks again

Bernard
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform