Re: fork problem



Hi,

Chan Wai <h0023427 eee hku hk> writes:

> I have tried to write a program, which also act as a server when I
> run it.  I use gtk/gnome to build an interface for it. However, when
> I run it, there is error on the child programme:
> 
> Gdk-ERROR **: BadIDChoice (invalid resource ID chosen for this connecion)
>   serial 30742 error_code 14 request_code 1 minor_code 0

please read the GTK+ FAQ, especially the part that explains why you
need to use _exit() in order to exit from the child process.


Salut, Sven



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]