Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Version 6.1 and Report data environments problem
Message
From
12/07/2001 11:49:06
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, California, United States
 
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00526772
Message ID:
00529764
Views:
20
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform