Doriano Blengino wrote:
> I think that in the call to XNextEvent you are passing a NIL pointer; 
> libX11 tries to put data in the area pointed by pEvent. You should 
> allocate some memory in it, enough to hold the event data. If, on the 
>   

Hi, Doriano
Thanks for your comment.

As you suggested above, I added following line to allocate the memrory,
then program runs normally. No signall 11 error.

    pEvent = Alloc(15)      ' 15 is temporary size

Now I can go to the next step!

Regards,

-- 
--------------------------------------
Kazutaka HARADA
  e-mail:[email protected]
--------------------------------------


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to