Path: news.net.uni-c.dk!logbridge.uoregon.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail From: jochenrollwagen@yahoo.com (Jochen Rollwagen) Newsgroups: comp.lang.beta Subject: Re: how do i include processmanager for a library Date: 5 Dec 2001 02:41:11 -0800 Organization: http://groups.google.com/ Lines: 65 Message-ID: References: NNTP-Posting-Host: 62.96.207.14 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1007548871 1621 127.0.0.1 (5 Dec 2001 10:41:11 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 5 Dec 2001 10:41:11 GMT Xref: news.net.uni-c.dk comp.lang.beta:13072 Morten Grouleff wrote in message news:... ...... > The problem is another variant of your previous problem. Having ORIGIN in > '~beta/basiclib/systemenv' selects an implementation of the scheduling > system, which is not compatible with guienv. > > You should use '~beta/guienv/guienvsystemenv' as ORIGIN instead and read > the following comment from that file: > > (* > * COPYRIGHT > * Copyright (C) Mjolner Informatics, 1991-96 > * All rights reserved. > * > * GUIENVSYSTEMENV > * =============== > * > * Use this fragment as the ORIGIN for concurrent programs > * using the GUIENV libraries. > * > * The program should look something like: > * > * ORIGIN 'guienvsystemenv'; > * --- program: descriptor --- > * systemEnv > * (# setWindowEnv::< (# do myWindowEnv[] -> theWindowEnv[] #); > * myWindowEnv: @guienv (# ... #); > * ... > * #) > * > * The 'setWindowEnv' virtual and 'theWindowEnv' reference are > * declared in basicsystemenv. > * > * The guienv instance (myWindowEnv) assigned to theWindowEnv is > * used for scheduling purposes to allow BETA coroutines to > * cooperate with the event driven user interface. > * > * For concurrency details, see basicsystemenv. > *) > > Regards, Well, i finally got it working. I had to alter the ORIGIN and add Include '~beta/guienv/guienv' '~beta/guienv/controls' '~beta/guienv/scrolllists'; basically all the stuff my GUI needs. Additionally, i had to copy/paste the GUI-pattern into my main pattern in place of the '...' you indicated above since including it didn't work (the GUI-pattern obviously wasn't visible to my main pattern although the IDE didn't complain like it does when i try to include a non-existing pattern). So everytime i change something in the GUI i have to copy it to my main pattern again manually..... awkward. But at least i got it working. Looks like i picked a tricky one for my first steps in BETA :-) Cheers Jochen