Question:
-
How to find the threading models supported by a predefined out-of-process (EXE-based) Server:
-
Using oleview?
-
Or any other valid methods?
Note:
- Attempting to connect to the above described server to receive event notifications
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I’m afraid the question is wrong.
Threading models (STA, MTA, etc) are a necessary evil that apply only to in-process COM objects, where objects and clients need to coexist in the same process and somehow they must prevent stepping on each other’s toes (a fun and lengthy topic).
Out-of-process (EXE) COM servers live in their own process and manage their own threading as they see fit. COM doesn’t know — and doesn’t care.
So there isn’t any ‘threading model’ (in a COM sense) associated with an EXE.
It sounds like you have a specific problem: If you post more details, I/someone/we might be able to help.