I have an service application which also has an DCOM object for a GUI interface communications.
Everything works well aside one point:
I want to call my client back by a DCOM connectionpoint callback procedure (to set a quick changing status field).
This works fine when I call from the client and stay inside the DCOM and call the client back (by a test procedure).
When I want to call the client back from the main (service) application it doesn't work.
I have tried it several ways. Either the callback targets "nirwarna" or I get exceptions.
I guess the problem is that each client has a thread of it's own for calling it back.
So the question is:
How can I access my callbackfuntion from outside the DCOM and reach my client (either single client or broadcast)?
I would be very thankful if somebody can help me as I am stuck now for a few days by the problem.
Best regards
Juergen Loewner
Everything works well aside one point:
I want to call my client back by a DCOM connectionpoint callback procedure (to set a quick changing status field).
This works fine when I call from the client and stay inside the DCOM and call the client back (by a test procedure).
When I want to call the client back from the main (service) application it doesn't work.
I have tried it several ways. Either the callback targets "nirwarna" or I get exceptions.
I guess the problem is that each client has a thread of it's own for calling it back.
So the question is:
How can I access my callbackfuntion from outside the DCOM and reach my client (either single client or broadcast)?
I would be very thankful if somebody can help me as I am stuck now for a few days by the problem.
Best regards
Juergen Loewner