Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Ilya Rabyy
  Where is Ilya Rabyy?
 Fountain Valley
 California - United States
 Ilya Rabyy
 To: David Hall
  Where is David Hall?
 Birmingham
 United Kingdom
 David Hall
 Tags
Subject: RE: libraries in applications
Thread ID: 188928 Message ID: 189377 # Views: 1 # Ratings: 0
Version: Visual FoxPro 7 Category: General VFP Topics
Date: Thursday, August 14, 2008 4:43:49 PM         
   


> >
> > I'm afraid you cannot "exclude" your MainLib module from other APP modules present
> > in the same project: there's no such command, neither precompiler directive to that
> > effect. You can exclude a file in your project from being compiled into an APP or
> > EXE (see Excluded property in the VFPs Help), but then, if the other APPs call any
> > function in that MainLib - VFP will generate an error.
> >
> > The good news, I hope, for you is that you do not need to re-compile all apps but
> > just that one containing MainLib.PRG module (I assume your system consists of .APPs
> > only and is not compiled into an EXE). If your top-level (or starting-up) APP calls
> > all the other APPs - MainLib's subroutines are accessible to them as well.
> >
> > I hope this answers your original question.
> >
> > Regards,
> >
> > Ilya
>
> Well, in vfp7 it seems I can, and the .app with mainlib 'excluded' works as normal.

It seems we are talking about different things: I was talking about the modules in a Project (in the Project Manager window), and you were talking about different Projects. Therefore - Yes, you can mark this or that module in your Project as "Excluded", as long as the application built on this Project is called by another application, and this module (MainLib.PRG in your case) is not excluded in that other, top level one. I guess MainLib module is added to the Projects for those called applications for the purpose of testing them as a stand-alone application in the VFP's IDE? (This is what I have been doing for many, many years.)

Regards,

Ilya

ENTIRE THREAD

libraries in applications Posted by David Hall @ 8/12/2008 4:56:11 PM
RE: libraries in applications Posted by Ilya Rabyy @ 8/12/2008 5:19:41 PM
RE: libraries in applications Posted by David Hall @ 8/12/2008 8:47:21 PM
RE: libraries in applications Posted by Ilya Rabyy @ 8/12/2008 9:49:39 PM
RE: libraries in applications Posted by David Hall @ 8/13/2008 11:44:54 AM
RE: libraries in applications Posted by Mike Yearwood @ 8/13/2008 4:03:49 PM
RE: libraries in applications Posted by Ilya Rabyy @ 8/13/2008 5:22:57 PM
RE: libraries in applications Posted by David Hall @ 8/13/2008 6:17:10 PM
RE: libraries in applications Posted by Ilya Rabyy @ 8/14/2008 4:43:49 PM
RE: libraries in applications Posted by David Hall @ 8/14/2008 6:17:06 PM
RE: libraries in applications Posted by Ilya Rabyy @ 8/14/2008 6:22:07 PM
RE: libraries in applications Posted by Mike Yearwood @ 8/13/2008 4:24:31 AM
RE: libraries in applications Posted by David Hall @ 8/13/2008 11:59:28 AM
RE: libraries in applications Posted by Mike Yearwood @ 8/13/2008 4:00:00 PM
RE: libraries in applications Posted by tushar @ 8/13/2008 5:22:28 AM
RE: libraries in applications Posted by David Hall @ 8/13/2008 11:56:10 AM
RE: libraries in applications Posted by Tom Saddul @ 8/13/2008 12:52:40 PM
RE: libraries in applications Posted by Ilya Rabyy @ 8/13/2008 4:37:57 PM
RE: libraries in applications Posted by tushar @ 8/13/2008 2:59:19 PM