On 10 Jul 2009, at 10:52, ringerxyz wrote: > Here is my problem: > I want to folk a child process which is used to do some other work > both of the process will need Fl:run,but it seems that Fl:run > doesn't work inside the child process which created by parent process.
You really need to tell us what platform you are on (and maybe what window manager you are using) and which version of fltk you are using. Also, we need to be clear about whether you really mean a child process or a child thread, as that may (depending on platform etc) make a difference to the scope and visibility of the code at runtime... However, all that said, the answer is probably going to be "no", I'm afraid. If you really need two independent processes with their own independent fltk entry points, you might be best building them as separate applications then providing a wrapper function to invoke them both... Well, maybe... Anyway, what is it you are really trying to do? If you can outline what it is you are trying to achieve, somebody here might be able to show some ways of doing it that work. -- Ian _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

