I've wrote a pbni class for socket communication with my pb program. The
socket functions are blocking calls. Therefore i'v implemented two C++
threads. One for the listening and one for the receiving process. The
threadfunctions where given a void* to a structure that contains the
reference to a powerbuilder userobject and my powerbuilder session object.
When the listening thread receives a message it triggers an event to the
powerbuilder object in my structure.
But this seems to be the problem. The powerbuilder app is crashing during
the receiving process. The event is triggered but powerbuilder crashes
afterwards. Is there any chance to post a function in the pbni class to my

Thanks for your help