Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't get QStart to copy my common classes from the Gene
Message
From
27/01/2002 11:36:04
Rex Mahel
Realm Software, Llc
Ohio, United States
 
 
To
25/01/2002 19:29:40
Paul Williamson
Williamson Enterprises, Inc.
Livingston, Montana, United States
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00610217
Message ID:
00611267
Views:
24
Paul>Hi Rex,
>
>>
>>Level 2 - Application developer's level - In this level, the Level 1 classes are subclassed and modified to suit your needs and are available for any and all application you may create. When QStart is run, all files in the Generic directory and all subdirectories are copied to the new application.
><<
>
>
>>>If you put your classes in the Generic\Libs directory, they would be copied to each of your new projects and if you found a bug in one of the classes, you would have to go to each application to fix it.
><<
>
>And I wouldn't have to do that if I stored my classes and subclasses in mmortals\wcommon\libs? Why not?

If you found a problem in a class in MMortals\WCommon\Libs you would have to fix it only once and recompile all the apps that used the fixed class, otherwise you would have to fix the class in each application that used it and recompile these apps

>
>
>Do I have to (and if so, what?) do anything to setup.prg, appincl.h (and if so, which one?) or anything else?
>
>Thanks again!
>
>-paul

APPINCL.H

#DEFINE DEBUGMODEFILE "DEBUG.TXT"
#DEFINE DEVPATH
#DEFINE COMMONPATH

**************************
*!* Add the following line
**************************
#DEFINE RCOMMONPATH

SETUP.PRG

***************************************
*!* Add RCOMMON paths to PATH statement
***************************************

SET PATH TO ;
PROGS, ;
FORMS, ;
LIBS, ;
MENUS, ;
DATA, ;
OTHER, ;
REPORTS, ;
INCLUDE, ;
HELP, ;
GRAPHICS, ;
RCOMMONPATH\UTILS, ;
RCOMMONPATH\INCLUDE, ;
RCOMMONPATH\LIBS, ;
RCOMMONPATH\PROGS, ;
RCOMMONPATH\GRAPHICS, ;
COMMONPATH\UTILS, ;
COMMONPATH\INCLUDE, ;
COMMONPATH\LIBS, ;
COMMONPATH\PROGS, ;
COMMONPATH\GRAPHICS, DEVPATH


HTH

Rex
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform