>I have a class that is based on a single parent class but when I got to instantiate the subclass VFP 6 throws an error: "Class definition ACEAPIABSTRACT is not found.
>
>parent class is defined as: DEFINE CLASS aceAPIAbstract as Custom and lives in rpds_ace_abstract.prg
>
>subclass is defined as DEFINE CLASS rpdsACEapi As aceAPIAbstract and lives in RPDS_ACE_api.prg
>
>I'm creating the object with the following syntax:
>
>loACEAPI = NEWOBJECT( 'rpdsACEapi', 'rpds_ace_api.fxp', '', parm1, parm2, parm3, parm4, parm5 )
>
>Any ideas how I can trouble shoot this?
Do you have SET PROCEDURE TO your first program somewhere in the code?
Without having procedure set how VFP will know where to find class definition for the parent?
If it's not broken, fix it until it is.
My Blog