>I have included foxtools.fll into the project as part of the executable but when I run the exe, it tells me api library not found. So I manually copied the file to the default dir where the executable is and it worked? Is this necessary?
You can include, in the EXE, any file that VFP can open. This includes: PRG, forms, class libraries, bitmaps, and others. This does not include: help file, DLLs. In my understanding, an FLL is basically a DLL, so the answer is "yes - this is necessary".
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)