tags:

views:

67

answers:

0

In my ATL project I have an interface that looks like this

interface IGenericDecorator : IUnknown 
{
    HRESULT CreateInternalObject([in] IClassFactory* pClsFactory);
};

After I build the project I see definition of IClassFactory included in the type library. How can I avoid this?

I don't need IClassFactory to be defined in my type library because when I import the typelib somewhere I get name conflicts. Particularly I import the type library in a Delphi project and get in conflict with ActiveX.IClassFactory

Is there any other way to avoid such conflicts?