How to create a windowless COM LocalServer

By: mykle hoban

Abstract: This article describes how to create a LocalServer (.exe) without any windows.

Question

How do I make a windowless local (.exe) COM server?

Answer

Simply remove the form's .cpp file from the project when you create it. Then add the COM objects you need. The ComModule class takes care of the support code needed to run the server when the COM Objects are created.


Server Response from: ETNASC03