Try to include it into the project and remove locfile part.
>I recently incorporated vfpcompression.fll in my app.
>
>Everything worked fine until I did a build of the EXE with recompile all files. Ever since then the line of code SET LIBRARY TO LOCFILEresults in a VFP error Library file is invalid
>
>The code:
>lclibraryname="vfpcompression.fll"
>SET LIBRARY TO LOCFILE(lclibraryname) ADDITIVE
>
>I have tried everything I can think of. I have the fll in my project but not "included" as I have not found a way to do that, if that matters. It is the same as far as this part goes as it was when it was working. I have rebuilt the project over and over to no success.
>
>Anyone have any ideas?
>
>Thanks,
>John
If it's not broken, fix it until it is.
My Blog