>>Can you keep parent classes in a separate APP from the working child classes?
>>
>>When you compile a child class into an APP, FOXPRO will automatically INCLUDE all the parent classes.
>>
>>I want to EXCLUDE the parent classes and keep them in a separate APP.
>>
>>"SET CLASSLIB to PARENTCLASS in PARENT.APP" doesn't seem to work because I get that wonderful error message "CANNOT INSTANTIATE CLASS ...CANNOT FIND PARENTCLASS.VCX"
>>
>>Any ideas?
>
>
>You can't.
Yes you can
At least if you run the EXE where the parent class is included
create 2 project
in one (parent) create parent classlib with a test class
also create a child classlib with a test1 class based on test
exclude child classlib from the project
create the following as main
set classlib to parent addi
set classlib to child in child.exe addi
x=createobject("test1")
x.hello()
create a second project where you have the two classlib again
this time exclude the parent
set classlib to child addi
build both
run
enjoy :)
Arnon