Date:  03/04/2002 02:09:19 PM Msg ID:  000412
From:  Joël Croquet Thread:  000412
Subject:  use of a DLL in FWX

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