Problem with PhAB

Hi:

I am developing an application with GUI using PhAB and Momentics, this application has to be reading information from another application and showing it in the GUI, I use a thread where I am reading the information from the other application using a socket, well, my problem is when I tried to display the information in the GUI I obtain a core segmantation fault, what am I doing wrong? or how can I resolve the problem?

Look at PtEnter/PtLeave to use threads and Photon API calls.