Hi all
We are given in-proc-server (.dll) with threading model "Both".i noticed the threading model in registry editor.as we know com object created with "Both" will take the threading model of the thread in which the object is created. i instantiated the object in a STA thread to make sure call to com object should go through only one thread. i was invoking the methods of this objects from child thread in a serialized way where object is actually created in main(STA) thread
will it make any side effects?
I did n't get any errors and executes fine when i used the object in child thread without any marshalling(GIT) .
now my doubt is how come it is happening.i didn't get any staright way answer for this when i google. please give me a brief description abt this
as per my understanding marshalling of an object is require if the object supports "STA" is it so? here our object supports "Both".