Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Class Definition not Found!
Message
 
 
To
12/06/2002 15:35:02
Sony Joseph
Dovenmuehle Mortgage Inc
Schaumburg, Illinois, United States
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00667608
Message ID:
00667716
Views:
20
>Hi,
>
>I have three .Prgs : 1. BaseClass.Prg, 2. SubClass.Prg, 3. RunProg.Prg
>
>*-- BaseClass.prg
>DEFINE CLASS myProcess As Session
>PROC doProcess
>*: doing my Processes here
>ENDPROC
>ENDEFINE
>
>
>*-- SubClass.Prg
>DEFINE CLASS CustomProcess As myProcess Of BaseClass.Prg
>PROC doProcess
>*-- running custom code
>ENDPROC
>ENDEFINE
>
>
>*-- RunProg.Prg
>Local loProc
>loProc = NewObject("customProcess", "SubClass.Prg") && <>loProc.DoProcess()
>.
>.
>.
>
>My Problem is, I get "Class Definition 'CustomProcess' is not Found'" error at the object initilization.
>
>If I set procedure to both baseclass and subclass and use a createObject("customprocess") function , everything is fine. How can I use NewObject() function without generating this error?
>
>
>TIA

Try SubClass.fxp instead of subclass.prg and BaseClass.fxp
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform