|The only VFP commands that are illegal in FoxWeb are the ones that will interfere with FoxWeb's default environment. The CLEAR DLLS command is illegal only if you don't specify the name of the DLL you want to clear (which causes VFP to clear all DLLs, including the ones used by the FoxWeb foundation program).|
The program you listed is perfectly legal and if you want you can even add the following command at the end:
CLEAR DLLS "MDStringFix"
FoxWeb Support Team
Sent by JoŽl Croquet on 03/04/2002 02:09:19 PM:
I would like to use the following code in a Foxweb program :
DECLARE INTEGER MDStringFix IN aamd532.dll STRING s, LONG l, STRING r
r = SPACE(32)
l = LEN(s)
= MDStringFix( s, l, @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.