"Dmitri" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi, I need to encode a string with md5 algorithm in my palm application
> preferences. Basically, I ask user to enter a string of up to 20
characters
> and I have to encode it before saving it.
> Could anyone tell me how to do it?
> I tried using CPMLibHash with libRef=0, but getting an error for "calling
a
> function in a shared library using a reference number of 0. This reference
> number does not correspond to any currently installed library and is
> invalid."

I'm not sure what CPMLibHash is, but I'm presuming it's in a shared library.

You need to Load and Open a shared library before using it.  The Open call
will give you a ref number with you need to use.

Have a look for sample shared lib code on Palm's website.

Alan



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to