Message-ID: <358DED42.346046AB@post.comstar.ru> Date: Mon, 22 Jun 1998 09:36:02 +0400 From: Dim Zegebart Reply-To: zager AT post DOT comstar DOT ru Organization: Comstar Ltd. MIME-Version: 1.0 To: Chessa Alberto , "djgpp AT delorie DOT com" Subject: Re: [Allegro] lwp crash ? References: <19980620070928066 DOT AAA239 AT chessa> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Precedence: bulk Chessa Alberto wrote: > Sorry, I do not call lwp_spawn()! Allegro do it for me somewhere. Anyway, I > workaround the problem by removing call to Allegro install_keyboard() (and > any other reference to Allegro keyboard routines - now I use std consolle > IO). Note that I call install_keyboard as second instruction of my program, > just after allegro_init(): > main(...) > { > .... // some declaration - no code executed - stack allocation only > > while((opt_flag=getopt(argc, argv, "....."))!= -1) {....} > > allegro_init(); > install_keyboard(); // offending line! > > .... > } > 1. It seems to me you have misscofigured Palantir. 2. I recommend you get Palantir 0.4.2. 3. As far as I know ;-) you should call palantir_init(DEVICE_FLAG) at the very beginning of your code. It calls allegro_init() and other allegro's routines in proper order. PS. read 'readme' and library description carefully. Take a look at examples, and , I'm shure, your problems will gone away. Good luck ! -- ____ ____ | \ / Dim Zegebart ____/____ Moscow Russia WWW - http://www.geocities.com/siliconvalley/pines/7817 DZcomm - comm library for Allegro Palantir - multitasking kernel for Allegro (based on PDMLWP)