IM_IBM ( Connection Points)

Hi every one:
I am facing a problem.I want to send
some data dynamically to my client sink through
connection points. My server on which i have
implemented the connection point is an NT Service.
I want to send data to the sink dynamically but
within a thread . I have created an object of
CComDynamicarray and passed it to the thread after
initializing it to m_vec;
But my program crashes when I try to invoke
the receive method of my sink
i.e.,
The debugger reports an unhandled exception at the
line
pSink->sinkReceiveData(…,…);

Either it is the thread causing a problem or the NT
Service doesnot handle connection points well.
Please tell me if someone got an idea…


Do You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/