COM now makes it possible to create DLL servers that can be loaded into a surrogate EXE process. This combines the ease of writing DLL servers with the benefits of executable implementation. Standard development tools like Microsoft® Visual Basic®, Microsoft® Visual J++™, and Microsoft® Visual Studio™ facilitate the writing of DLL servers, but a DLL server in itself has limits. Running the DLL server in a surrogate process offers several possible benefits:
COM provides a default surrogate process, or you can write a custom surrogate if you have special needs. These sections provide more information on DLL surrogates: