Does anybody know about where the DLL is loaded when the DLL is registered on both the server and client computers (two separate computers), but client instantiatews this DLL remotely.

1.Is the DLL loaded in the client process becuase it is inprocess so it must load in the client. or
2.DLL is loaded in the server's memory space whereby a surrogate is used on the server side and whole communication is through proxy and stub.