>I don't think you can SET PROC to a DLL. You can SET PROC to an FXP, PRG, etc.
If I recall right you can do this though:
SET PROCEDURE TO SomeFile.prg in SomeDll.dll
A DLL is basically an APP file wrapped in a small DLL wrapper.
+++ Rick ---
>
>
>>I have build a DLL in VFP 9 including some lookup tables and one dummy OLE public class in order to avoid this error.
>>
>>The path is defined in the main.prg.
>>
>>In a procedure prg I put this code to open a DBF
>>
>>
>>PROCEDURE USE3
>>PARAMETERS MDBF
>>IF NOT USED (MDBF)
>> USE (MDBF) IN 0
>>ENDIF
>>
>>SELECT (MDBF)
>>
>>
>>
>>In the calling code I put
>>
>>SET PROCEDURE readonlytables.dll ADDITIVE
>>=use3(mylookuptable)
>>
>>
>>
>>This cause the error File does not exist.
>>
>>What I´m doing wrong or I must add ?
>>
>>
>>Thanks.