Mail Archives: djgpp/1998/06/22/01:34:06
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)
- Raw text -