Yes, because the classlib is included in the project the path does not matter. Just enter
set classlib to myclasslibrary.vcx
Glenn
>I had a set classlib in the init of my form, but the reference was specific to my machine, and as I was having problems, so I just commented it out. Should I add it back, but without the drive and path reference?
>
>Dick
>
>>Yes that is what I meant. This is a vexing roblem... Do you
>>set classlib to myclasslib.vcx
in the program which attempts to instanciate a class contained in the class library? eg.
set classlib to myclass.vcx
>>on shutdown do cleanup
>>oForm = createobject('myform')
>>oForm.show()
>>read events
>>...
>>procedure cleanup
>>on shutdown
>>close all
>>
>>
>>Glenn
>>
>>>Glen,
>>>
>>>My library is listed in the project under Class Libraries and is the only library there. The Exclude option is dimmed, so I assume it is automatically included.
>>>
>>>Is that what you meant?
>>>
>>>Dick