c# - Can a out-of-process COM object find out which process has loaded it? -


i have out-of-process com server (localserver) serves several objects , don't know ahead of time process activate served classes. activation via idispatch interface late-bound.

when 1 of served classes constructed, able identify activating process somehow, perhaps name of executable can display in com localserver.

for .net developer com chicanery can bit dizzying, i'd appreciate if can suggest how might determine how (by whom) served classes being activated.


Comments

Popular posts from this blog

How to understand 2 main() functions after using uftrace to profile the C++ program? -

c# - Update a combobox from a presenter (MVP) -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -