A problem with thread

Hi,
i have two thread that comunicate with serial port and a third party thread tha update the graphical interface. I get an error from this thread because the element of graphical interface are declared in the main thread and i don't know how to resolve the problem.

Has someone an idea?

Thanks
[324 byte] By [dewoul] at [2007-11-20 2:47:25]