>>Hello,
>>
>>I've created a virtual class in a .app file.
>>Then I've created a project which contains a class which inherit from the virtual class.
>>In the project, I've defined the virtual class as excluded and I've put a set classlib in the main program like this :
>>
>>
>>SET CLASSLIB TO Virtual_Methods in VirtualClass.app additive
>>
>>
>>But I have a problem.
>>When I've created the project exe file, I have realized that the main exe is looking for the vcx file...
>>I got an error message "can't find virtual_methods.vcx.."
>>
>>How can I solve this problem ?
>>
>>
>>Thanks a lot !
>>
>>
>>Steph
>
>
>In fact, the parent class is separated from the child class.
>But I'm afraid that's not possible..
>
>Steph
Set classlib would look for a visual classlib. If it's prg based then set proc instead. In VFP6 and up you could use friendlier NewObject().
Cetin