Choose COM if you need the class library to be available on a wide
variety of systems, where you cannot guarantee the .NET Framework will
be available.
If you have control of over where the library will be deployed, or can
at least guarantee that the .NET Framework will be available, I see no
reason not to use .NET. You will get the benefits of managed code, and
can still be used by COM clients (as long as you design the classes to
be COM compatible).
Raj wrote:
I want to develop a C++ class library. I finally realised I need COM not just
C++ Dll. Is developing COM as dll useful or should I consider any .Net
related technology. Is COM relevant or when to chose COM than .Net and when
to use related .Net technology.
Thanks,
Rajesh