O$5.1 - encstr

Dawid Mocke dawidmocke at gmail.com
Sun Dec 5 03:03:57 EST 2010

Hi List,
I have been using this function to encode db passwords stored in text based
config files for a couple of years now.
It works beautifully.

However I am running into a challenge on V5 of Studio that by default is
Unicode enabled.
On earlier version I have issues when trying to use decstr() to decrypt the
decstr works fine on Windows 7 platform, but on I have problems decrypting
on earlier versions (especially if the password was encrypted with V5
unicode app).
If it was encrypted with previous V4 version of the app, these OS's does not
have issues decrypting the passwords, only when a 'new' password is
encrypted with the V5 upgraded app.

I am running the app on various version of Windows OS's (clients have not
all upgraded to even XP yet....yes you read right!  I have clients that are
still running Windows 2000 workstations!!!).

My question is this:
How can I force encstr and decstr functions to treat the password in a
non-unicode way?  Maybe I am slow, sorry for asking silly questions.

kindest regards,

Dawid Mocke
This message (and any associated files) is intended only for the use of the
individual or entity to which it is addressed and may contain information
that is confidential, subject to copyright or constitutes a trade secret. If
you are not the intended recipient you are hereby notified that any
dissemination, copying or distribution of this message, or files associated
with this message, is strictly prohibited. If you have received this message
in error, please notify us immediately by replying to the message and
deleting it from your computer.

More information about the omnisdev-en mailing list