The approach we take is to deploy the library one directory (there may be
various directories/version of libraries currently in use). Each app has
their own directory containing only application specific stuff (PBDs, etc).
The application is started via a shortcut to the APP EXE file (full path)
with a startup directory pointing to the Library shared directory (so it
finds all the common PFC, etc stuff needed). Our corporate appmanager then
calls a Windows API (GetModuleFileNameA) to get the pathname of the EXE,
hence we can find any other stuff needed here.
Haven't found any showstoppers here yet.. Just another approach. Although I
did think about setting up the AppPath. The shortcut method just enables
you to select which Library version you want to run against easier. Allows
slower migration to new Library and minimal extra machine setup, etc. I do
tend to be a bit careful about changing directories, wihtin the application
as well, ie. change back to startup dir after any any temp change of
directory. Also tend to specify full pathname to get to any files needed
(ie. don't assume a certain current directory)
Welcome any comments, suggestions though..
Regards,
Gary Hyland
Intuitive Developments
Australia
-----Original Message-----
From: Sharon Buntz [SMTP:[EMAIL PROTECTED]]
Sent: Wednesday, October 27, 1999 2:25 AM
To: Norm Roberts
Cc: Boris Gasin; Gary Hyland; '[EMAIL PROTECTED]'; 'Gordon A. Dickens, Jr.'
Subject: Re: PFCSIG To use same set of pbd's.
Hi, Norm
To share PBDs, you could either
1) set the application path appropriately,
2) deploy common objects to a directory that is in the system path, or
3) deploy everything to the same directory
Nowadays, ever since 5.0 really (but truth be known early 5.0 needed
refining), to regenerate everything crisply clean, alls you have to do is
run a full re-build. It will do it for you in that way that only it knows
how to <g> Not like the good old days when it was definitely an art. Too
true - you so funny! But at least that taught you the mantra "Regen" and
started you on the path to mastering the truth of PB and her mysterious GPF
ways <bg> And btw, _after_ a good regening, it's still a good idea to
optimize.
No idea regarding anything about PB7 Unix - anyone else know?
Have fun,
~Sharon
--
Sharon Weinstrom Buntz | mailto:[EMAIL PROTECTED]
Cheat Sheet for PFC/PB Help | http://www.pfccheatsheet.com/
Norm Roberts wrote:
>
> Good Morning Everyone! Boris and Sharon
>
> I see both points being made and would agree that
> simplicity is always better and I have some concerns about
> regeneration with shared PBD's. But, my question would be
> in the form of distribution. I have several applications
> (pb5.04, because I still have some Mac Users)that all have
> basic ly the same set of PBD's, but each has there set in
> there respective EXE directories. \app1\pf*.pbd's and
> \app2\pf*.pbd's and so on. Would you put your applications
> PBD's in with the PB Run Time Libraries? This is the only
> place I could think of where it would be accessible for all
> applications.
>
> What about regeneration? Starting with PB3 regenerating an
> application use to be an PB art form! ha ha Only the
> masters could perform! I had become very cautious in do
> rebuilds (I guess that comes with working with previous
> versions of PB - Not on PB7 Yet!) I will back up the pbl's,
> Optimize and then Regen using the Object Browser and using
> the object Hyarchy starting with Menu's, Obj' and then
> Windows. After that I will do a build in the Project
> painter. Is this over kill? Am I too pareniod? I remember a
> Powersoft class where the teacher said that if things get
> too Weird then REGEN.
>
> Last Point is PB7 Unix? Any clue on when?
>
> I do thank you for your imput. I usualy do not write to
> this, but always enjoy both of your sites and comments.
>
> Norm Roberts
> Systems Developer
> RECOM Technologies
> NASA AMES
> Moffett Field, CA
>
> __________________________________________________
> Do You Yahoo!?
> Bid and sell for free at http://auctions.yahoo.com
> [EMAIL PROTECTED] HOSTED BY IIGG, INC. FOR HELP WITH LIST SERVE COMMANDS, ADDRESS
> A MESSAGE TO [EMAIL PROTECTED] WITH THE FOLLOWING MESSAGE: help pfcsig
> SEND ALL OTHER INQUIRES TO [EMAIL PROTECTED]