View Complete Thread | FoxWeb Forum Home
Search:
Date:    Msg ID:   
From:    Thread:   
Subject:   

I would like to use the following code in a Foxweb program :

DECLARE INTEGER MDStringFix IN aamd532.dll STRING s, LONG l, STRING r

func md5String
PARAM s
r = SPACE(32)
l = LEN(s)
= MDStringFix( s, l, @r)
RETURN r

This code is used to calculate a hash according to the MD5 algorithm.

1) Is the DECLARE dll a legal Foxweb command ?
2) does I have to take care of something ?   For instance, I read in the documentation that the CLEAR DLLS command is illegal.

J. Croquet