>I've never noticed a problem before, but in some coding I've done with CursorAdapter, I cannot get:
>
>SET CLASSLIB TO C:\DEV\CA_TEST\CLASSES\TESTS.VCX
>
>to work properly. According to FoxPro help, I should be able to instantiate a class from the above class library, but if it isn't in the DEFAULT folder (SET DEFAULT TO or DEFAULT="XXXX"), set in my CONFIG.FPW file, to C:\DEV\CA_TEST, then it won't instantiate and gives me an error, such as:
>
>"File c:\dev\ca_test\tests.vcx does not exist"
>
>So, I placed the class library in the DEFAULT folder and of course, it instantiated just fine. I tried another way by setting the DEFAULT:
>
>SET DEFAULT TO c:\dev\ca_test\classes
>
>and then was also able to instantiate the object.
>
>All thsi time, the class library was sitting in the c:\dev|ca_test\classes folder.
>
>Why isn't the path given in the SET CLASSLIB command enough for FoxPro to find the class library?
Are you sure this directory is not read-only? Can you double check everything, it seems to be it should work just fine with specifying the full path.
If it's not broken, fix it until it is.
My Blog