Ed,

That option is directly supported by perlapp / pertray (see the User Guide).

What I do is compile all my common modules and the perl10.dll inside of a 
single (or many) dll file(s) in one project .  On the 'Options 2' tab ensure 
that you select 'Only share with my own executables (those generated with this 
PDK license)' or 'Share with anybody'.

Then in another project I add that dll to the 'Module Search Path' and ensure 
to 'Exclude perl510.dll from executable' on the 'Size' tab.  Finally on the 
'Options 1' tab ensure to select 'Use run library' and give a relative path to 
where your application can find the required dll(s).  I simply use "." to look 
in the local directory.

--Joel

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Edward Peschko
Sent: Wednesday, June 18, 2008 1:41 PM
To: activeperl@listserv.activestate.com
Subject: shared components in 'compiled' executables.

hey all,

I've been using perlapp/perltray/etc. to 'compile' executables, and was 
wondering whether the following was possible:

I would like to be able to share components between executables of the same 
overarching 'application'. As it stands right now, I have several apps that are 
all related together, and hence could reuse each others' components. But since 
they are all compiled separately, they all bundle (repeatedly) the same perl 
executable, shared libraries, etc.

How do you make it so that each library in one app is viewable/usable by the 
others, and hence does not need to be archived separately?

Thanks much,

Ed

________________________________
This message may contain confidential or privileged information. If you are not 
the intended recipient, please advise us immediately and delete this message. 
See http://www.datapipe.com/emaildisclaimer.aspx for further information on 
confidentiality and the risks of non-secure electronic communication. If you 
cannot access these links, please notify us by reply message and we will send 
the contents to you.
_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to