Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Class in PRG cannot find parent class
Message
 
 
À
03/10/2005 18:20:08
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01055674
Message ID:
01055678
Vues:
28
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--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform