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--