@Mistrel : no chance! You want to create a COM dll for an in-process server then you need to roll your sleeves up and code from scratch. It is not actually very difficult once you 'bone up' on the various hoops you need to jump through. The most important part is perhaps the class factory (which is an additional component you create alongside your component) and the various accompanying functions your dll must export in order to create the class factory, register the component and determine when the dll can be unloaded by the system etc. The code dealing with your interfaces can be as straight forward as you like. Course, COMatePLUS will not be able to use your component unless you expose, at the very least, an iDispatch interface and, better yet, dual interfaces! An excellent book is "Inside COM" by Dale Rogerson; aimed at c++ users, but it is very easy to follow nevertheless.
