Path: news.net.uni-c.dk!Morten.Grouleff.Mjolner.Informatics From: Morten Grouleff Newsgroups: comp.lang.beta Subject: Re: how do i include processmanager for a library Date: 01 Dec 2001 17:59:29 +0100 Organization: Mjolner Informatics. Lines: 31 Sender: mg@noatun Message-ID: References: NNTP-Posting-Host: bifrost.mjolner.dk Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.net.uni-c.dk 1007225969 23952 130.225.4.254 (1 Dec 2001 16:59:29 GMT) X-Complaints-To: usenet@news.net.uni-c.dk NNTP-Posting-Date: Sat, 1 Dec 2001 16:59:29 +0000 (UTC) User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.5 Xref: news.net.uni-c.dk comp.lang.beta:13067 jochenrollwagen@yahoo.com (Jochen Rollwagen) writes: > I'd like to create a library containing a pattern to start a > sub-process which i want to include in a beta-program with a GUI. The > code is taken from an example pattern which obviously is a beta > program (not a library) since it has systemenv at its top, which seems > to include the process-pattern and so on. > > The fragment-information for my library looks like this: > > ORIGIN '~beta/basiclib/systemenv'; > INCLUDE '~beta/process/commpipe' '~beta/process/processmanager'; You should use the ORIGIN suggested below instead. The difference is that the above ORIGIN specifies that this program uses the non-graphical environment, e.i. does not use Guienv. The ORIGIN suggested below does not select any implementation. The program in which your library is used should be free to select whether it uses Guienv or not. ORIGIN '~beta/basiclib/basicsystemenv'; > But i get compile-errors saying process isn't defined and so on > (basically the processmanager seems to be not included). Define your patterns in "--- systemlib:attributes ---". From there you can see all patterns defined in the process library. Try posting the file and errormessages if this does not help you. -- Morten Grouleff, M.Sc. C.S., Software Developer, Mjølner Informatics A/S. Phone: +45 70274343 Direct: +45 89425815 Fax: +45 70274344