>I get a "File access denied" error when the dll tries to access the tables. Does the dll run is a strange context and therefore does not have permission to access the table?
If you included DBFs into that DLL VFP first try to open them. If it succeed then it try to work with them and if you have some writing code in your code you will get that error. Exclude the files from that DLL and when you install it just make sure you have path to the actual data.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.