>In addition, you will need Foxtools.FLL to register the function as I believe >VFP 5 didn't allow direct access to the WinAPI.
Ermm, in 5.0, I don't think that this is the case. I'd have to test to be sure, but I'm *pretty* sure that DECLARE DLL works just fine in 5.0. In fact, I don't think that FOXTOOLS.FLL has really been needed for Win32 stuff after VFP 3.0.
Mike Stewart