Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Class in PRG cannot find parent class
Message
 
 
To
03/10/2005 18:20:08
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01055674
Message ID:
01055678
Views:
20
Try
DEFINE CLASS icgdata as Session 
...
>
>I'm working on some COM+ server classes. This is in early stages, and is basically an experiment for me.
>
>In the project, I have several PRG's that have my data-access classes defined in them. I wanted to make a generic data access class to base them from, so I added a new prg called bases.prg
>
>Another PRG has a particular class I want to base from the icgdata class in bases.prg, and I can't get it to work. See below code. The specific StmTax class is based on the generic icgdata class. This compiles fine into a COM exe, (or DLL), but I get a 'specified module not found' error when trying to instantiate StmTax. Even if I place both class definitions in the same PRG, that error happens. It does not happen, if I define them each as Session classes, and don't try to subclass anything.
>
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform