Whats the difference between COM and DCOM?
DCOM extends COM. DCOM introduced several improvements/optimizations for distributed environment, such as MULTI_QI (multiple QueryInterface()) and security contexts. DCOM demonstrated importance of surrogate process (you cannot run in-proc server on a remote machine. You need a surrogate process to do that.) DCOM introduced a load balancing DLL Vs COM DisAdv: Dll exposes only functions (non object oriented). Extension DLL export classes but used only from MFC programs. DLL doesnt support Backward Compatibility(version problem). DLLs are loaded using File name. If changed mistakenly or different vendors use same name then problem araises. Adv: Loaded Just-In-Time. Dll can share among several application.