>Dear Jason,
>
>Exactly, when report is included in the APP or EXE it works, and when report is not included in EXE it fails to find the classes, referred to in the report's methods. Thouse classes exist in the main application (EXE, when I use only one EXE. Or they exist in several EXEs (by the modular structure) - in this case I use abstarct factory and classes.dbf to map them.
>
>When I put thouse classes in the main directotry - reports find them.
>
>Josef
Check classes.dbf and make sure you have the cLibrary and cFileName entered correctly for each of your libraries in the separate EXEs you mentioned.
It appears to me you have a pathing problem. When you include the file, SetProcsAndLibs() automatically adds the path to the SET CLASSLIB, so you shouldn't have a problem. However, when you don't include the vcx, you're either relying on it being in the main path (the first place FoxPro "looks" when it can't find something on its own) or you're relying on the abstract factory, which, in turn relies on Classes.dbf.... so that's where I'd look first.
Good luck...
---J